MCPcopy Create free account
hub / github.com/axmolengine/axmol / getVelocityAtWorldPoint

Method getVelocityAtWorldPoint

core/physics/PhysicsBody.cpp:624–627  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

622}
623
624Vec2 PhysicsBody::getVelocityAtWorldPoint(const Vec2& point)
625{
626 return PhysicsHelper::cpv2vec2(cpBodyGetVelocityAtWorldPoint(_cpBody, PhysicsHelper::vec22cpv(point)));
627}
628
629void PhysicsBody::setAngularVelocity(float velocity)
630{

Callers 2

clipPolyMethod · 0.80

Calls 1

Tested by 1

clipPolyMethod · 0.64