Press on the image to return to the main documentation page.
|
getValue (invmass As Double) As ABVector
Initialize (useMass As Boolean, vx As Double, vy As Double, counter As Int, name As String)
Name As String
UseMass As Boolean [write only]
vx As Double [write only]
vy As Double [write only]
getValue (invmass As Double) As ABVector
Initialize (useMass As Boolean, vx As Double, vy As Double, counter As Int, name As String)
Name As String
UseMass As Boolean [write only]
vx As Double [write only]
vy As Double [write only]
AddArrayOfGroupsToCollisionList (array() As ABGroup)
AddArrayOfJoints (array() As ABJoint)
AddArrayOfParticles (array() As ABParticle)
AddCollidable (group As ABGroup)
AddJoint (obj As ABJoint)
AddParticle (obj As ABParticle)
CollideInternal As Boolean
CollisionList As java.util.List [read only]
GetGroupHits As java.util.List
GetJointByName (name As String) As ABJoint
GetJoints As java.util.List
GetParticleByName (name As String) As ABParticle
GetParticles As java.util.List
Initialize (name As String, collideInternal As Boolean)
Name As String
RemoveCollidable (group As ABGroup)
RemoveJoint (obj As ABJoint)
RemoveParticle (obj As ABParticle)
AddArrayOfGroupsToCollisionList (array() As ABGroup)
AddArrayOfJoints (array() As ABJoint)
AddArrayOfParticles (array() As ABParticle)
AddCollidable (group As ABGroup)
AddJoint (obj As ABJoint)
AddParticle (obj As ABParticle)
CollideInternal As Boolean
CollisionList As java.util.List [read only]
GetGroupHits As java.util.List
GetJointByName (name As String) As ABJoint
GetJoints As java.util.List
GetParticleByName (name As String) As ABParticle
GetParticles As java.util.List
Initialize (name As String, collideInternal As Boolean)
Name As String
RemoveCollidable (group As ABGroup)
RemoveJoint (obj As ABJoint)
RemoveParticle (obj As ABParticle)
Angle As Double [read only]
Center As ABVector [read only]
CurrLength As Double [read only]
Fixed As Boolean [read only]
Initialize (part1 As ABParticle, part2 As ABParticle, name As String, stiffness As Double)
isConnectedTo (p As ABParticle) As Boolean
Name As String
Part1 As ABParticle
Part2 As ABParticle
Radian As Double [read only]
RestLength As Double
Stiffness As Double
Angle As Double [read only]
Center As ABVector [read only]
CurrLength As Double [read only]
Fixed As Boolean [read only]
Initialize (part1 As ABParticle, part2 As ABParticle, name As String, stiffness As Double)
isConnectedTo (p As ABParticle) As Boolean
Name As String
Part1 As ABParticle
Part2 As ABParticle
Radian As Double [read only]
RestLength As Double
Stiffness As Double
addAnimation (bm As android.graphics.Bitmap, State As Int, Direction As Int, Action As Int, NumOfFrames As Int, Delay As Int, AnimationBehaviour As Int)
AddForce (force As ABForce)
Angle As Double
ANIM_ACTION_A As Int
ANIM_ACTION_B As Int
ANIM_ACTION_NONE As Int
ANIM_ACTION_X As Int
ANIM_ACTION_Y As Int
ANIM_BEHAVIOUR_CONTINIOUS As Int
ANIM_BEHAVIOUR_ONCE As Int
ANIM_DIRECTION_DOWN As Int
ANIM_DIRECTION_LEFT As Int
ANIM_DIRECTION_RIGHT As Int
ANIM_DIRECTION_UP As Int
ANIM_STATE_MOVE As Int
ANIM_STATE_STILL As Int
AnimAction As Int
AnimDirection As Int
AnimState As Int
AutoRotate As Boolean
CenterX As Double
CenterY As Double
CIRCLE As Int
Elasticity As Double
Friction As Double
GetForceByName (name As String) As ABForce
GetForces As java.util.List
GetHits As java.util.List
GiveCurrentAnimBitmap As android.graphics.Bitmap
Height As Double
Initialize (type As Int, centerX As Double, centerY As Double, width As Double, height As Double, radius As Double, collidable As Boolean, seeCollisionAsHit As Boolean, rotation As Double, name As String)
InvMass As Double [read only]
isAnimated As Boolean [read only]
isFixed As Boolean
isSolid As Boolean
isVisible As Boolean
Mass As Double
Name As String
PauseAnimation
Radian As Double
Radius As Double
RECTANGLE As Int
RemoveForce (force As ABForce)
ResumeAnimation
StartAnimation (State As Int, Direction As Int, Action As Int)
StopAnimation
Traction As Double
Type As Int
Velocity As ABVector
Width As Double
addAnimation (bm As android.graphics.Bitmap, State As Int, Direction As Int, Action As Int, NumOfFrames As Int, Delay As Int, AnimationBehaviour As Int)
AddForce (force As ABForce)
Angle As Double
ANIM_ACTION_A As Int
ANIM_ACTION_B As Int
ANIM_ACTION_NONE As Int
ANIM_ACTION_X As Int
ANIM_ACTION_Y As Int
ANIM_BEHAVIOUR_CONTINIOUS As Int
ANIM_BEHAVIOUR_ONCE As Int
ANIM_DIRECTION_DOWN As Int
ANIM_DIRECTION_LEFT As Int
ANIM_DIRECTION_RIGHT As Int
ANIM_DIRECTION_UP As Int
ANIM_STATE_MOVE As Int
ANIM_STATE_STILL As Int
AnimAction As Int
AnimDirection As Int
AnimState As Int
AutoRotate As Boolean
CenterX As Double
CenterY As Double
CIRCLE As Int
Elasticity As Double
Friction As Double
GetForceByName (name As String) As ABForce
GetForces As java.util.List
GetHits As java.util.List
GiveCurrentAnimBitmap As android.graphics.Bitmap
Height As Double
Initialize (type As Int, centerX As Double, centerY As Double, width As Double, height As Double, radius As Double, collidable As Boolean, seeCollisionAsHit As Boolean, rotation As Double, name As String)
InvMass As Double [read only]
isAnimated As Boolean [read only]
isFixed As Boolean
isSolid As Boolean
isVisible As Boolean
Mass As Double
Name As String
PauseAnimation
Radian As Double
Note that while the Particle can be rotated, it does not have angular
velocity. In otherwords, during collisions, the rotation is not altered,
and the energy of the rotation is not applied to other colliding particles.
Radius As Double
RECTANGLE As Int
RemoveForce (force As ABForce)
ResumeAnimation
StartAnimation (State As Int, Direction As Int, Action As Int)
StopAnimation
Traction As Double
Type As Int
Velocity As ABVector
Width As Double
AddGlobalForce (force As ABForce)
AddGroup (group As ABGroup)
AddListOfGroups (list As java.util.List)
Damping As Double
GetGlobalForceByName (name As String) As ABForce
GetGlobalForces As java.util.List
GetGroupByName (name As String) As ABGroup
GetGroups As java.util.List
Initialize (dt As Double)
JointCollisionCycles As Int
JointCycles As Int
RemoveGlobalForce (force As ABForce)
RemoveGroup (group As ABGroup)
Step
AddGlobalForce (force As ABForce)
AddGroup (group As ABGroup)
AddListOfGroups (list As java.util.List)
Damping As Double
Damping will slow down your simulation and make it more stable. If you find
that your sim is "blowing up', try applying more damping.
GetGlobalForceByName (name As String) As ABForce
GetGlobalForces As java.util.List
GetGroupByName (name As String) As ABGroup
GetGroups As java.util.List
Initialize (dt As Double)
JointCollisionCycles As Int
This setting differs from the jointCycles property in that it
resolves both joints and collisions during a ABPhysicsEngine.Step(),
as opposed to just the joints. The default value is 1.
JointCycles As Int
This setting differs from the jointCollisionCycles property in that it
only resolves joints during a ABPhysicsEngine.Step(). The default value
is 0. Because this property doesn't correct for collisions, you should only use it when
the collisions of an arrangement of particles and joints are not an issue. If you
do set this value higher than the default of 0, then jointCollisionCycles
should at least be 1, in order to check collisions one time during the
ABPhysicsEngine.Step() cycle.
RemoveGlobalForce (force As ABForce)
RemoveGroup (group As ABGroup)
Step
copy (v As ABVector)
cross (v As ABVector) As Double
distance (v As ABVector) As Double
distanceSigned (v As ABVector) As Double
divEquals (s As Double) As ABVector
dot (v As ABVector) As Double
Initialize (px As Double, py As Double)
magnitude As Double
minus (v As ABVector) As ABVector
minusEquals (v As ABVector) As ABVector
mult (s As Double) As ABVector
multEquals (s As Double) As ABVector
normalize As ABVector
plus (v As ABVector) As ABVector
plusEquals (v As ABVector) As ABVector
setTo (px As Double, py As Double)
times (v As ABVector) As ABVector
toString As String
x As Double
yle="color: #000000; ">y As Double
copy (v As ABVector)
cross (v As ABVector) As Double
distance (v As ABVector) As Double
distanceSigned (v As ABVector) As Double
divEquals (s As Double) As ABVector
dot (v As ABVector) As Double
Initialize (px As Double, py As Double)
magnitude As Double
minus (v As ABVector) As ABVector
minusEquals (v As ABVector) As ABVector
mult (s As Double) As ABVector
multEquals (s As Double) As ABVector
normalize As ABVector
plus (v As ABVector) As ABVector
plusEquals (v As ABVector) As ABVector
setTo (px As Double, py As Double)
times (v As ABVector) As ABVector
toString As String
x As Double
y As Double