So this is a weird one. Basically, after the enemy health is zero I go through each rigidbody component in the enemy parent's children [and add a force to make it go flying on death][1].
For some reason, the parent object isn't affected and stays still while the Skeleton goes flying. Does anybody know how to make the parent object follow the skeleton, or make the skeleton follow the parent because as of now they act as separate entities?
I've tried just adding force to the parent but that only moves the parent object and none of the children. Would appreciate any advice! Thanks.
[1]: https://streamable.com/va4p6r
↧