public class PhysicsStaticCircle extends AbstractPhysicsObject
AbstractPhysicsObject.
Note: all dimensions and positions are in pixels.f, name| Constructor and Description |
|---|
PhysicsStaticCircle(String name,
Vector2 position,
float radius)
Create a static circle.
|
PhysicsStaticCircle(String name,
Vector2 position,
float radius,
float density,
float restitution,
float friction)
Create a static circle.
|
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 PhysicsStaticCircle(String name, Vector2 position, float radius)
name - An optional name for the object (for debug)position - The position of the center pointradius - The radius of the object, in pixelspublic PhysicsStaticCircle(String name, Vector2 position, float radius, float density, float restitution, float friction)
name - An optional name for the object (for debug)position - The position of the center pointradius - The radius of the object, in pixelsdensity - The density of the object, in kg/ms2restitution - The restitution factor (energy given back on collision). 1 means all the energy is restored, 0 means no energy is given backfriction - The friction factor (between 0 and 1)Copyright © 2014-2016 gdx2d - https://github.com/hevs-isi/gdx2d