Kinematic bodies in version 2.0.2 - moving platforms?

Discuss issues specific the Python port of Box2D
tuschcarsten
Posts: 2
Joined: Fri Aug 07, 2015 12:47 am

Kinematic bodies in version 2.0.2 - moving platforms?

Postby tuschcarsten » Fri Aug 07, 2015 1:00 am

Hi,

I am using pyBox2D version 2.0.2, as it is provided by my (debian) package manager (the package name is python-box2d).

Currently I am creating a 2D jump and run game and I'd like to implement moving platforms.
I found some information and forum posts regarding this topic, suggesting to use kinematic
bodies, since those don't have any mass, but can be moved using SetLinearVelocity.
(I'm referring to those two sources:
http://www.box2d.org/forum/viewtopic.php?f=9&t=8440
http://gamedev.stackexchange.com/questi ... ng-with-it )

However, my problem is that in the documentation for version 2.0.2 there is no mention of kinematic bodies.
The API does not even provide a method to make a body dynamic. It seems to be implicitly done
when applying a mass to that body. I also was not able to find some kind of version log, which shows
whether kinematic bodies were introduced in a version post 2.0.2.

Has anyone experience with this version and kinematic bodies? It it even possible or will I have to compile a newer version?

Best regards,
Carsten

Return to “Python”



Who is online

Users browsing this forum: No registered users and 1 guest