Angular Forces?

Hi ther!

I have mangage to use Linear forces and so on… so i think i understand what they do. But what dose angular forces do? And how do i use them?

An angular force applies a rotation to an object, to make it spin. You use it in pretty much the same way you use linear forces, although I think it probably requires setting up an AngularIntegrator; I’d have to look up the complete interface in the API docs.

David

Sorry to annoy everyone by bumping an old topic but how exactly would you go about setting up an AngularIntegrator? I tried declaring one but it says a you cannot init a constant class?

AAAAHHAAAAAA! By looking through the Panda folder I found an example which shows how to use rotational forces.

Before you can use them you must attach a AngularIntegrator using

base.physicsMgr.attachAngularIntegrator(AngularEulerIntegrator())

!