Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Loading rope state after changing it's length
#2
Hi!

Attachments don't automatically change the position of either the rope or the object it's attached to (as that would result in a heap of problems in the general case), they attach at the position relative to the object that the rope's particle group is in at the time of creating the attachment. See:

http://obi.virtualmethodstudio.com/manua...ments.html

Quote:It's important to realize that attachments do not move the particle group to the position of the target object, nor the target object to the position of the particle group. Moving the particle group to the target's position would collapse all particles into a single point, and would result in a kickback effect once the particles spring back to their original positions. Moving the target could cause a whole palette of issues depending on your game logic.

Instead, particles in the group are attached at their current position relative to the target object. This makes it simple to work with multiple particles, and ensures smooth attachments with no initial "jumps" or sudden motions.

If you want particles attached at a specific position other than their position at the time of creating the attachment, you can set their position at runtime before creating the attachment: see scripting particles.
Reply


Messages In This Thread
RE: Loading rope state after changing it's length - by josemendez - 19-05-2023, 11:03 AM