mijo
mijo

Reputation: 1

How can I move box2d object?

I have a player character and I would like him to fire bullets, one each second.

It's a top down view, no gravity.

I've been doing it with SetLinearVelocity() and ApplyLinearImpulse() and the object moves, but I can't control the speed.

How can I control the speed of the bullets?

Upvotes: 0

Views: 1371

Answers (1)

Alexander Müller
Alexander Müller

Reputation: 547

Seems like you've already found your answer here: http://www.box2d.org/forum/viewtopic.php?f=3&t=5852&p=27016

Upvotes: 1

Related Questions