Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Newton - Pushing a box

Author
Message
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 16th Feb 2005 00:01
I'm "playing" with objects at the moment to work out how to push a box around, using DarkBasic Pro. In effect, I am trying to get a box to behave like a vehicle, but without all of the complexities of vehicle physics. This is what I want to do, my scenario does not need vehicle physics (it's more cartoon-like than realistic). Some questions this raises are:

Is NDB_BodyAddForceLocal the best way to move a box forwards and backwards?

Should I be using the same command with a Y-offset to turn the box left and right?

Can I lower the centre of gravity to keep the box upright? I imagine Newton uses the object model's centre as the centre of gravity, but can it be changed?

BatVink

Login to post a reply

Server time is: 2024-04-26 14:41:45
Your offset time is: 2024-04-26 14:41:45