Search found 4 matches

by stclaire
Tue Aug 02, 2011 3:27 pm
Forum: General Discussion
Topic: how do i get a callback when a body stops moving?
Replies: 1
Views: 619

how do i get a callback when a body stops moving?

When my player character jumps, I apply a linear impulse and run an animation. I only want him to be able to jump once he has has landed from a previous jump and I want to run a passive animation when he stays still. How do I trigger a callback to let me know when he has landed? Or is there another ...
by stclaire
Sat Jun 18, 2011 9:31 am
Forum: General Discussion
Topic: Need help with rotation of dynamic body
Replies: 3
Views: 1309

Re: Need help with rotation of dynamic body

Hey, Thanks for the help. I think it is important, as the character is basically a rectangle. I don't want him rolling down hills. I tried making a second body, but I can't get it to show up. Any thoughts on where the problem might be? CGSize screenSize = [[CCDirector sharedDirector] winSize]; float...
by stclaire
Fri Jun 17, 2011 6:52 pm
Forum: General Discussion
Topic: Need help with rotation of dynamic body
Replies: 3
Views: 1309

Need help with rotation of dynamic body

Hi, newb here. I could really appreciate some help. I've never used any physics engine before. I have my character as a dynamic body. The level is a platformer. I want him to be able to rotate a bit for sloped terrain, but never past his corner (on to his side or upside down). What is the preferred ...
by stclaire
Fri Jun 17, 2011 6:46 pm
Forum: Marketplace
Topic: Box2D contractor
Replies: 7
Views: 11496

Re: Box2D contractor

How much is your hourly rate?

Go to advanced search