Searched refs:mVelocity (Results 1 – 2 of 2) sorted by relevance
27 private Vector2 mVelocity; field in OrbitalMagnetComponent36 mVelocity = new Vector2(); in OrbitalMagnetComponent()46 mVelocity.zero(); in reset()87 mVelocity.set(gravityVector); in applyMagnetism()88 mVelocity.multiply(timeDelta); in applyMagnetism()89 targetVelocity.subtract(mVelocity); in applyMagnetism()104 mVelocity.set(mDelta); in applyMagnetism()105 mVelocity.normalize(); in applyMagnetism()109 mVelocity.multiply(mStrength); in applyMagnetism()115 mVelocity.multiply(weight); in applyMagnetism()[all …]
31 private Vector2 mVelocity; field in GameObject83 mVelocity = new Vector2(); in GameObject()100 mVelocity.zero(); in reset()169 return mVelocity; in getVelocity()173 mVelocity.set(velocity); in setVelocity()