MCPcopy Create free account
hub / github.com/ByteArena/box2d / GetLinearVelocityFromLocalPoint

Method GetLinearVelocityFromLocalPoint

DynamicsB2Body.go:254–256  ·  view source on GitHub ↗
(localPoint B2Vec2)

Source from the content-addressed store, hash-verified

252}
253
254func (body B2Body) GetLinearVelocityFromLocalPoint(localPoint B2Vec2) B2Vec2 {
255 return body.GetLinearVelocityFromWorldPoint(body.GetWorldPoint(localPoint))
256}
257
258func (body B2Body) GetLinearDamping() float64 {
259 return body.M_linearDamping

Callers

nothing calls this directly

Calls 2

GetWorldPointMethod · 0.95

Tested by

no test coverage detected