public class PhysicsStaticBox extends AbstractPhysicsObject
AbstractPhysicsObject.
Note: all dimensions and positions are in pixels.f, name| Constructor and Description |
|---|
PhysicsStaticBox(String name,
Vector2 position,
float width,
float height)
Create a static box.
|
PhysicsStaticBox(String name,
Vector2 position,
float width,
float height,
float angle)
Create a static box.
|
applyBodyAngularImpulse, applyBodyForce, applyBodyForce, applyBodyForceToCenter, applyBodyForceToCenter, applyBodyLinearImpulse, applyBodyLinearImpulse, applyBodyTorque, beginContact, collision, createFixture, destroy, enableCollisionListener, endContact, getBody, getBodyAngle, getBodyAngleDeg, getBodyAngularDamping, getBodyAngularVelocity, getBodyFixtureList, getBodyGravityScale, getBodyInertia, getBodyLinearDamping, getBodyLinearVelocity, getBodyLinearVelocityFromLocalPoint, getBodyLinearVelocityFromWorldPoint, getBodyLinearVelocityPixels, getBodyLocalCenter, getBodyLocalPoint, getBodyLocalVector, getBodyMass, getBodyMassData, getBodyPosition, getBodyRadius, getBodyTransform, getBodyWorld, getBodyWorldCenter, getBodyWorldPoint, getBodyWorldVector, isBodyActive, isBodyAwake, isBodyBullet, isBodyFixedRotation, isBodySleepingAllowed, postSolve, preSolve, setBodyActive, setBodyAngularDamping, setBodyAwake, setBodyLinearDamping, setBodyLinearVelocity, setBodyLinearVelocity, setCollisionGroup, setSensorpublic PhysicsStaticBox(String name, Vector2 position, float width, float height)
name - An optional name for the object (for debug)position - The position of the center pointwidth - The width of the physics boxheight - The height of the physics boxpublic PhysicsStaticBox(String name, Vector2 position, float width, float height, float angle)
name - An optional name for the object (for debug)position - The position of the center pointwidth - The width of the physics boxheight - The height of the physics boxangle - The angle of the box (trig angle)Copyright © 2014-2016 gdx2d - https://github.com/hevs-isi/gdx2d