Packagejiglib.geometry
Classpublic class JSphere
InheritanceJSphere Inheritance RigidBody



Public Properties
 PropertyDefined by
 InheritedboundingSphere : Number
RigidBody
 Inheritedcollisions : Array
RigidBody
 InheritedcurrentState : PhysicsState
RigidBody
 Inheritedforce : JNumber3D
RigidBody
 Inheritedfriction : Number
RigidBody
 Inheritedid : int
RigidBody
 InheritedinvMass : Number
RigidBody
 Inheritedmass : Number
RigidBody
 Inheritedmaterial : MaterialProperties
RigidBody
 Inheritedmovable : Boolean
RigidBody
  name : String
JSphere
 InheritednonCollidables : Array
RigidBody
 InheritedoldState : PhysicsState
RigidBody
  radius : Number
JSphere
 Inheritedrestitution : Number
RigidBody
 InheritedrotationX : Number
RigidBody
 InheritedrotationY : Number
RigidBody
 InheritedrotationZ : Number
RigidBody
 Inheritedskin : ISkin3D
RigidBody
 Inheritedtype : String
RigidBody
 InheritedworldInertia : JMatrix3D
RigidBody
 InheritedworldInvInertia : JMatrix3D
RigidBody
 Inheritedx : Number
RigidBody
 Inheritedy : Number
RigidBody
 Inheritedz : Number
RigidBody
Protected Properties
 PropertyDefined by
 Inherited_boundingSphere : Number
RigidBody
 Inherited_currState : PhysicsState
RigidBody
 Inherited_type : String
RigidBody
Public Methods
 MethodDefined by
  
JSphere(skin:ISkin3D, r:Number)
JSphere
 Inherited
RigidBody
 Inherited
RigidBody
 Inherited
addExternalForces(dt:Number):void
RigidBody
 Inherited
addGravity():void
RigidBody
 Inherited
RigidBody
 Inherited
RigidBody
 Inherited
RigidBody
 Inherited
RigidBody
 Inherited
RigidBody
 Inherited
RigidBody
 Inherited
RigidBody
 Inherited
clearForces():void
RigidBody
 Inherited
RigidBody
 Inherited
RigidBody
 Inherited
RigidBody
 Inherited
RigidBody
 Inherited
RigidBody
 Inherited
RigidBody
  
JSphere
 Inherited
RigidBody
 Inherited
RigidBody
 Inherited
RigidBody
 Inherited
getVelChanged():Boolean
RigidBody
 Inherited
RigidBody
 Inherited
RigidBody
 Inherited
hitTestObject3D(obj3D:RigidBody):Boolean
RigidBody
 Inherited
RigidBody
 Inherited
RigidBody
 Inherited
isActive():Boolean
RigidBody
 Inherited
limitAngVel():void
RigidBody
 Inherited
limitVel():void
RigidBody
 Inherited
moveTo(pos:JNumber3D):void
RigidBody
 Inherited
pitch(rot:Number):void
RigidBody
 Inherited
postPhysics(dt:Number):void
RigidBody
 Inherited
restoreState():void
RigidBody
 Inherited
roll(rot:Number):void
RigidBody
  
segmentIntersect(out:Object, seg:JSegment, state:PhysicsState):Boolean
JSphere
 Inherited
setActive(activityFactor:Number = 1):void
RigidBody
 Inherited
setAngVel(angVel:JNumber3D):void
RigidBody
 Inherited
setAngVelAux(angVel:JNumber3D):void
RigidBody
 Inherited
RigidBody
 Inherited
setInactive():void
RigidBody
 Inherited
RigidBody
 Inherited
RigidBody
 Inherited
RigidBody
 Inherited
RigidBody
 Inherited
storeState():void
RigidBody
 Inherited
tryToFreeze(dt:Number):void
RigidBody
 Inherited
RigidBody
 Inherited
updatePosition(dt:Number):void
RigidBody
 Inherited
updatePositionWithAux(dt:Number):void
RigidBody
 Inherited
updateVelocity(dt:Number):void
RigidBody
 Inherited
yaw(rot:Number):void
RigidBody
Protected Methods
 MethodDefined by
 Inherited
updateState():void
RigidBody
Property detail
nameproperty
public var name:String
radiusproperty 
radius:Number  [read-write]Implementation
    public function get radius():Number
    public function set radius(value:Number):void
Constructor detail
JSphere()constructor
public function JSphere(skin:ISkin3D, r:Number)Parameters
skin:ISkin3D
 
r:Number
Method detail
getInertiaProperties()method
public override function getInertiaProperties(m:Number):JMatrix3DParameters
m:Number

Returns
JMatrix3D
segmentIntersect()method 
public override function segmentIntersect(out:Object, seg:JSegment, state:PhysicsState):BooleanParameters
out:Object
 
seg:JSegment
 
state:PhysicsState

Returns
Boolean