C# Class Universe.Physics.BulletSPlugin.BSPrim

Inheritance: BSPhysObject
ファイルを表示 Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Public Properties

Property Type Description
VehicleActor BSDynamics

Private Properties

Property Type Description
AddObjectToPhysicalWorld void
CalculateMass float
EnableCollisions void
ExtremeSanityCheck bool
InitializeAxisActor void
MakeSolid void
PositionSanityCheck bool
SetAxisLockLimitsExtension object
SetObjectDynamic void

Public Methods

Method Description
AddAngularForce ( OpenMetaverse force, bool pushforce, bool inTaintTime ) : void
AddForce ( OpenMetaverse force, bool pushforce ) : void
AddForce ( OpenMetaverse force, bool pushforce, bool inTaintTime ) : void
AddForceImpulse ( OpenMetaverse impulse, bool pushforce, bool inTaintTime ) : void
ApplyTorqueImpulse ( OpenMetaverse impulse, bool inTaintTime ) : void
BSPrim ( uint localID, String primName, BSScene parent_scene, OpenMetaverse pos, OpenMetaverse size, OpenMetaverse rotation, PrimitiveBaseShape pbs, bool pisPhysical ) : System
ComputeGravity ( float buoyancy ) : OpenMetaverse.Vector3
CreateGeomAndObject ( bool forceRebuild ) : void
CrossingFailure ( ) : void
Delink ( ) : void
Destroy ( ) : void
Extension ( string pFunct ) : object
ForceBodyShapeRebuild ( bool inTaintTime ) : bool
Link ( PhysicsActor obj ) : void
LinkGroupToThis ( PhysicsActor objs ) : void
LockAngularMotion ( OpenMetaverse axis ) : void
SetMaterial ( int material, float friction, float restitution, float gravityMultiplier, float density ) : void
UpdatePhysicalMassProperties ( float physMass, bool inWorld ) : void
UpdatePhysicalParameters ( ) : void
UpdateProperties ( EntityProperties entprop ) : void
VehicleFlags ( int param, bool remove ) : void
VehicleFloatParam ( int param, float value ) : void
VehicleRotationParam ( int param, OpenMetaverse rotation ) : void
VehicleVectorParam ( int param, OpenMetaverse value ) : void
ZeroAngularMotion ( bool inTaintTime ) : void
ZeroMotion ( bool inTaintTime ) : void

Protected Methods

Method Description
ApplyAxisLimits ( int funct, float low, float high ) : void
DetailLog ( string msg ) : void
MakeDynamic ( bool makeStatic ) : void
RemoveBodyDependencies ( ) : void
SelectObject ( bool val ) : void

Private Methods

Method Description
AddObjectToPhysicalWorld ( ) : void
CalculateMass ( ) : float
EnableCollisions ( bool wantsCollisionEvents ) : void
ExtremeSanityCheck ( bool inTaintTime ) : bool
InitializeAxisActor ( ) : void
MakeSolid ( bool makeSolid ) : void
PositionSanityCheck ( bool inTaintTime ) : bool
SetAxisLockLimitsExtension ( object pParams ) : object
SetObjectDynamic ( bool forceRebuild ) : void

Method Details

AddAngularForce() public method

public AddAngularForce ( OpenMetaverse force, bool pushforce, bool inTaintTime ) : void
force OpenMetaverse
pushforce bool
inTaintTime bool
return void

AddForce() public method

public AddForce ( OpenMetaverse force, bool pushforce ) : void
force OpenMetaverse
pushforce bool
return void

AddForce() public method

public AddForce ( OpenMetaverse force, bool pushforce, bool inTaintTime ) : void
force OpenMetaverse
pushforce bool
inTaintTime bool
return void

AddForceImpulse() public method

public AddForceImpulse ( OpenMetaverse impulse, bool pushforce, bool inTaintTime ) : void
impulse OpenMetaverse
pushforce bool
inTaintTime bool
return void

ApplyAxisLimits() protected method

protected ApplyAxisLimits ( int funct, float low, float high ) : void
funct int
low float
high float
return void

ApplyTorqueImpulse() public method

public ApplyTorqueImpulse ( OpenMetaverse impulse, bool inTaintTime ) : void
impulse OpenMetaverse
inTaintTime bool
return void

BSPrim() public method

public BSPrim ( uint localID, String primName, BSScene parent_scene, OpenMetaverse pos, OpenMetaverse size, OpenMetaverse rotation, PrimitiveBaseShape pbs, bool pisPhysical ) : System
localID uint
primName String
parent_scene BSScene
pos OpenMetaverse
size OpenMetaverse
rotation OpenMetaverse
pbs PrimitiveBaseShape
pisPhysical bool
return System

ComputeGravity() public method

public ComputeGravity ( float buoyancy ) : OpenMetaverse.Vector3
buoyancy float
return OpenMetaverse.Vector3

CreateGeomAndObject() public method

public CreateGeomAndObject ( bool forceRebuild ) : void
forceRebuild bool
return void

CrossingFailure() public method

public CrossingFailure ( ) : void
return void

Delink() public method

public Delink ( ) : void
return void

Destroy() public method

public Destroy ( ) : void
return void

DetailLog() protected method

protected DetailLog ( string msg ) : void
msg string
return void

Extension() public method

public Extension ( string pFunct ) : object
pFunct string
return object

ForceBodyShapeRebuild() public method

public ForceBodyShapeRebuild ( bool inTaintTime ) : bool
inTaintTime bool
return bool

Link() public method

public Link ( PhysicsActor obj ) : void
obj Universe.Framework.Physics.PhysicsActor
return void

LinkGroupToThis() public method

public LinkGroupToThis ( PhysicsActor objs ) : void
objs Universe.Framework.Physics.PhysicsActor
return void

LockAngularMotion() public method

public LockAngularMotion ( OpenMetaverse axis ) : void
axis OpenMetaverse
return void

MakeDynamic() protected method

protected MakeDynamic ( bool makeStatic ) : void
makeStatic bool
return void

RemoveBodyDependencies() protected method

protected RemoveBodyDependencies ( ) : void
return void

SelectObject() protected method

protected SelectObject ( bool val ) : void
val bool
return void

SetMaterial() public method

public SetMaterial ( int material, float friction, float restitution, float gravityMultiplier, float density ) : void
material int
friction float
restitution float
gravityMultiplier float
density float
return void

UpdatePhysicalMassProperties() public method

public UpdatePhysicalMassProperties ( float physMass, bool inWorld ) : void
physMass float
inWorld bool
return void

UpdatePhysicalParameters() public method

public UpdatePhysicalParameters ( ) : void
return void

UpdateProperties() public method

public UpdateProperties ( EntityProperties entprop ) : void
entprop EntityProperties
return void

VehicleFlags() public method

public VehicleFlags ( int param, bool remove ) : void
param int
remove bool
return void

VehicleFloatParam() public method

public VehicleFloatParam ( int param, float value ) : void
param int
value float
return void

VehicleRotationParam() public method

public VehicleRotationParam ( int param, OpenMetaverse rotation ) : void
param int
rotation OpenMetaverse
return void

VehicleVectorParam() public method

public VehicleVectorParam ( int param, OpenMetaverse value ) : void
param int
value OpenMetaverse
return void

ZeroAngularMotion() public method

public ZeroAngularMotion ( bool inTaintTime ) : void
inTaintTime bool
return void

ZeroMotion() public method

public ZeroMotion ( bool inTaintTime ) : void
inTaintTime bool
return void

Property Details

VehicleActor public_oe property

public BSDynamics,Universe.Physics.BulletSPlugin VehicleActor
return BSDynamics