World Update function

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

World Update function

Postby kane7777 » Wed May 05, 2010 8:04 pm

Hi,

I understand that passing a high value for parameter "timestep" to the NewtonUpdate(world, timestep) function will increase the physics simulation speed for all physics objects in the world. I would like to ask whether it is possible to increase the physics simulation of just a single "Body" in the world. Basically I am trying to do a skill which I would like to increase the physics simulation of a cannon shot out from a tank.
kane7777
 
Posts: 8
Joined: Wed May 05, 2010 7:42 pm

Re: World Update function

Postby Julio Jerez » Wed May 05, 2010 8:18 pm

not you can not simulate just one body.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: World Update function

Postby kane7777 » Wed May 05, 2010 8:22 pm

Oh I see. Thanks for the quick reply! :)
kane7777
 
Posts: 8
Joined: Wed May 05, 2010 7:42 pm

Re: World Update function

Postby Carli » Thu May 06, 2010 4:30 am

But would be nice to have bullet-trace algorithms.
Carli
 
Posts: 245
Joined: Fri Oct 02, 2009 5:28 am

Re: World Update function

Postby Stucuk » Thu May 06, 2010 6:43 am

You can do Ray Traces and Convex Casts. They both however only go in a straight line.
User avatar
Stucuk
 
Posts: 801
Joined: Sat Mar 12, 2005 3:54 pm
Location: Scotland

Re: World Update function

Postby kallaspriit » Sun May 09, 2010 8:25 am

You can do the raycasts in increments, moving towards the target and these segments could follow ballistics trajectory.
kallaspriit
 
Posts: 216
Joined: Sun Aug 14, 2005 6:31 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron