Alright, I'm using Zotoaster's physics that can be found here:
http://forum.thegamecreators.com/?m=forum_view&t=68873&b=7
They were originally made for a hovercraft vehicle, but in the tutorial he stated that you could change some parts to make it less spinny. Here is the equation that
is used:
Position = Position + Velocity
Here is the equation that
I want to use:
Position = Position + (Direction * Speed).
I tinkered around with variables and got that equation exactly. But the way he set up the variables is most of them used a type (vector). The Direction variable (MDir) is a vector, and the Speed variable (Speed) is a float. Therefore they are not compatible and cannot compile.
How would I accomplish all of this?
---PlasmaArts---
www.plasmaarts.co.nr - www.plasmaarts-games.co.nr