Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
In game parenting of Obi Particle Attachment
#8
(05-06-2023, 08:35 AM)Holty Wrote: Hi there. Sorry was away from project file for awhile. Here is a video showing what's happening. Red ball is a stand in for the attachment for the player avatar and is a child of the player VR avatar. Aiming to have the particle end (green ball) to be a child of the red ball but without the wandering and random movements. Thanks!

Obi Rope parenting issue

Hi!

The video shows parenting working as intended: since the green ball is a rigidbody, once parented to the red ball it will be simulated in the red ball's local space.

I get the feeling that you're confused about what parenting does. Parenting a transform to another one just makes its position/rotation/scale be based off its parent's. It does not however affect the simulation of rigidbodies in any way -they'll still be moving around- in particular it won't make them kinematic which is what I believe you're looking for based on your description:

Quote:it's not 'locked' in place to the parent and it's position.

This 'locking' an object is place is not achieved by parenting transforms, but by making rigidbodies kinematic. If you make the green ball rigidbody kinematic upon impact and parent it to the red ball, it will stop reacting to forces and and move together with the red ball, essentially locking both together.

Note that none of this has anything to do with Obi, it's standard Unity behavior.

kind regards,
Reply


Messages In This Thread
RE: In game parenting of Obi Particle Attachment - by josemendez - 05-06-2023, 06:15 PM