Page 1 of 1

Animation Position [SOLVED]

Posted: Fri Aug 06, 2010 4:41 pm
by Ravi08
Hi,

Basically im tryin to create a section of my game like a firing range. The problem occurs with the moving targets. Now im not sure if my code needs work or something in Blender.

So i have a animation which moves the target left to right and an animation which makes the target fall over for when it gets shoot.

Now what happens is that when it gets shoot, the fall over animation happens at the initial start of the scenenode not where the scene is.

I know what the problem is which is the movement animation doesnt actually move the position of the scenenode but since im a noob at Blender, i was wonderin if any of you have a solution.

So far the only one i have come up with is to do the movement animation with createflystraightanimator which works.

Thanks for your time

Posted: Sat Aug 07, 2010 5:19 am
by Iyad
What i would suggest you is to not animate the movement of the targets, only animate when you are sure that it will keep its relative position and rotation. You can easily use the flystraight animator with a predifined path, or what id would do is to set the position of your target at the place where it got hit, so the target could fall at this position.

Hope this helps.

Posted: Sat Aug 07, 2010 10:29 am
by Ravi08
I cant believe i was soooo stupid :oops:, i suppose thats why there are people like you in the world. In the end i set the position of the target to where it got hit.

THANK YOU SO MUCH :P