Closed GoogleCodeExporter closed 9 years ago
We don't directly expose too much of Box2D's API because for the majority of
Angel uses, it's really not needed. That said, if you need to use it, you're
able to get access to the Box2D representation of a PhysicsActor with the
GetBody function, and then manually make your changes from there. That's how
people have handled soft-body physics in the past.
Definitely add a comment if this doesn't address your needs.
Original comment by lieseg...@gmail.com
on 5 Feb 2011 at 8:26
OK, I see I missed the PhysicsActor::GetBody() and World::GetPhysicsWorld()
functions that will allow to modify Box2D directly. Maybe I'm a little bit
spoiled with all the Angel's minimum-code-physics-support and I don't want to
write the extra lines of code, but I will give it a try.
Original comment by rhy...@rhywek.com
on 5 Feb 2011 at 8:59
Original issue reported on code.google.com by
rhy...@rhywek.com
on 5 Feb 2011 at 4:33