1 registered members (AndrewAMD),
1,191
guests, and 9
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Newton 2 wrapper
[Re: VeT]
#273113
06/21/09 13:37
06/21/09 13:37
|
Joined: Apr 2009
Posts: 14 Poland, Germany
EnjoMitch
Newbie
|
Newbie
Joined: Apr 2009
Posts: 14
Poland, Germany
|
That's also because I set continuous collisions:
action ball_newt()
{
wait(3);
gnBall = newton_addentity(me, 75, NEWTON_SPHERE, onforceandtorque);
NewtonBodySetContinuousCollisionMode(gnBall, 1); // avoid tunnelling
}
btw, are you sure that you need to wait for 3 frames before doing anything, or it is just for safety reasons?
|
|
|
Re: Newton 2 wrapper
[Re: VeT]
#273884
06/24/09 20:21
06/24/09 20:21
|
Joined: Dec 2008
Posts: 528 Wagga, Australia
the_mehmaster
User
|
User
Joined: Dec 2008
Posts: 528
Wagga, Australia
|
(why not youtube? ) forgot my password... About the wrapper... Yes, this happens with all the bodys. In the joint(rope) demo, all the different segments rotate randomly.
Last edited by the_mehmaster; 06/24/09 20:27.
|
|
|
|