1 decade ago by Heavy
I'm trying to figure out how to make my character's not 'floaty' when using the Box2D plugin. I've tried adding 'angularDamping: 0.01' to my main player entity, as well as adding it to the entity.js for the box2d plugin itself.
I still can't seem to get it to do anything. Friction seems to slow me down, which is what I want, but I've read on some other Box2D forum posts that for a top-down view game which is what I'm making, that I want to use angular and linear dampening. Problem is, I can't seem to figure out where to put the options to get it to take effect. Any help is most appreicated.
I still can't seem to get it to do anything. Friction seems to slow me down, which is what I want, but I've read on some other Box2D forum posts that for a top-down view game which is what I'm making, that I want to use angular and linear dampening. Problem is, I can't seem to figure out where to put the options to get it to take effect. Any help is most appreicated.