2 registered members (AndrewAMD, SBGuy),
691
guests, and 5
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: the_mehmaster]
#273767
06/24/09 11:11
06/24/09 11:11
|
Joined: Aug 2004
Posts: 1,345 Kyiv, Ukraine
VeT
OP
Serious User
|
OP
Serious User
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
|
Got it (why not youtube? ) Do you have the same problem with bodies on another levels? Looking like its because of new version of A7.77... Try the latest wrapper demo
|
|
|
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.
|
|
|
|