Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Some questions & requests
#5
Hey! Thank you again for the awesome support! Gran sonrisa

‘josemendez’ Wrote:How can it be misplaced? do you mean the initial transform? are the particles not attached to the positions you set?
(…)
I’m still not sure what you mean by “not working”: you mention the attachment itself works ok but the rope is misplaced, can you show an example of this?

I will explain in the images below. I have one cowboy character that has a rope. This rope is attached to both the cowboy and the ellipse in the end.
Note that in the first image, it’s a new fresh instantiated rope and everything is alright. The second image, it’s the exact same rope, and even though it’s attached to both the cowboy and the ellipse, because it follow their movement, is now misplaced. Think of that as I moved the “Local Position” of an object inside a parent and now I’m moving the parent around.
I don’t think it is something with my code because the new ropes are fine, the problem is with the ones coming from the pool, and they pass through exactly the same code. For some reason the positions are not properly set.

1. https://ibb.co/KhjvpWc
2. https://ibb.co/fGcswwN

‘josemendez’ Wrote:If you want resilience against arbitrarily large mass ratios, you must use either a direct solver, or a reduced-coordinates approach (Featherstone’s ABA is a good candidate). Both are considerably more expensive than Obi. Unity provides a built in reduced-coordinates solver in the form of articulations.

I will take a look on that. Thank you very much for sharing!

‘josemendez’ Wrote:This is just a terrible idea, regardless of it being in Unity’s official docs.
(…)
What you typically want is for physical behavior to remain constant regardless of the timescale, and interpolate render state in-between.

Well, that’s make total sense actually. I will try another approach for my slow motions then.

Thank you very much! I will definitely leave a review in the Asset Store later!  Gran sonrisa
Reply


Messages In This Thread
Some questions & requests - by landosilva - 04-08-2022, 10:58 PM
RE: Some questions & requests - by josemendez - 05-08-2022, 07:57 AM
RE: Some questions & requests - by landosilva - 05-08-2022, 03:34 PM
RE: Some questions & requests - by josemendez - 05-08-2022, 04:17 PM
RE: Some questions & requests - by landosilva - 06-08-2022, 02:59 PM
RE: Some questions & requests - by josemendez - 08-08-2022, 07:44 AM
RE: Some questions & requests - by landosilva - 08-08-2022, 09:46 AM
RE: Some questions & requests - by josemendez - 08-08-2022, 10:54 AM
RE: Some questions & requests - by landosilva - 08-08-2022, 02:09 PM
RE: Some questions & requests - by josemendez - 08-08-2022, 02:24 PM
RE: Some questions & requests - by landosilva - 08-08-2022, 02:56 PM
RE: Some questions & requests - by josemendez - 08-08-2022, 03:21 PM
RE: Some questions & requests - by landosilva - 08-08-2022, 03:44 PM
RE: Some questions & requests - by josemendez - 08-08-2022, 03:46 PM
RE: Some questions & requests - by landosilva - 09-08-2022, 04:51 PM
RE: Some questions & requests - by josemendez - 10-08-2022, 07:18 AM
RE: Some questions & requests - by landosilva - 10-08-2022, 10:03 AM
RE: Some questions & requests - by josemendez - 10-08-2022, 10:15 AM
RE: Some questions & requests - by josemendez - 10-08-2022, 10:39 AM