0
$\begingroup$

My goal is to have the animation I have set up play which is triggered by a collision with the players body to a sensor, in which the body gets deleted, the camera and gun switch parents to a helicopter, and then play their 1300 frame actions.

When I do this, the gun and camera return to the origin yet still play their respective actions alongside some relative changes due to distance from parent. I do not understand how to fix this and make the animation look as it does in the preview/timeline view.

I have attached the file from my game with all the relevant information, if you can get this animation to play correctly and identify the problem I would greatly appreciate it, been stuck on this for a while now.

https://www.dropbox.com/s/xskpc8arpj37roy/fixcut.blend?dl=0

$\endgroup$
1
$\begingroup$

This sounds like the child objects have impact on the physics.

I assume your helicopter is rigid-body. That means it can collide with other objects such as static objects.

Now you parent the character object to the helicopter. I guess the character object is still static (or was dynamic and becomes static via parenting).

The problem is that the character object collides with the helicopter. The helicopter (as rigid body) will change position due to the impact. As the character object is parented to the helicopter the collision will always be present, making the helicopter move even further.

Solution

Ensure there is no collision between parent and child.

This can be by making the child ghost or by ensuring there is no intersecting face between the different physics meshes.

$\endgroup$
  • $\begingroup$ This did not solve the problem; I've specified the issue and added a link to the file. $\endgroup$ – Ethan Richardson Mar 21 '17 at 23:14
  • $\begingroup$ Also I'm new here and didn't understand the editing concept, sorry- I deleted the duplicates and specified/added a link to this question. If anyone could look past the deadly sin of re-posting and help me solve this issue it'd be greatly appreciated. $\endgroup$ – Ethan Richardson Mar 21 '17 at 23:15
  • $\begingroup$ It is expected you ask a specific question. Bug reporting and bug fixing does not belong to SE. As far as I remember you had a question before. It seems to completely changed. As it is now it is more a thread for blenderartists.org rather than stack exchange. $\endgroup$ – Monster Mar 22 '17 at 6:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.