MCPcopy
hub / github.com/KilledByAPixel/LittleJS / getTarget

Method getTarget

plugins/box2d.js:869–869  ·  view source on GitHub ↗

Get the target point in world coordinates * @return {Vector2}

()

Source from the content-addressed store, hash-verified

867 /** Get the target point in world coordinates
868 * @return {Vector2} */
869 getTarget(){ return box2d.vec2From(this.box2dJoint.GetTarget()); }
870
871 /** Sets the maximum force in Newtons
872 * @param {number} force */

Callers

nothing calls this directly

Calls 1

vec2FromMethod · 0.80

Tested by

no test coverage detected