How to move a non INFINITE MASS body?

Official forum for the Chipmunk2D Physics Library.
reklis
Posts: 9
Joined: Mon Mar 08, 2010 3:13 pm
Contact:

Re: How to move a non INFINITE MASS body?

Post by reklis »

Take a look at
http://code.google.com/p/chipmunk-physi ... o/Player.c

It simulates a player with some crafty math on surface velocity. You should be able to take something like that and make it more "object oriented" by creating classes for the different types of actions your player could perform.
User avatar
zaldzbugz
Posts: 38
Joined: Tue Jan 19, 2010 2:45 am
Contact:

Re: How to move a non INFINITE MASS body?

Post by zaldzbugz »

i used cpBodySlew or apply forces to it. :)
[color=#400000][i]"A man of tomorrow is forged by his battles today."[/i][/color]
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests