Interface IJoint3D
Interface for a 3D Joint physics.
Namespace: Evergine.Framework.Physics3D
Assembly: Evergine.Framework.dll
Syntax
public interface IJoint3D
Properties
AppliedImpulse
Gets the applied impulse.
Declaration
float AppliedImpulse { get; }
Property Value
Type | Description |
---|---|
float |
BodyA
Gets the first body attached to this joint.
Declaration
IRigidBody3D BodyA { get; }
Property Value
Type | Description |
---|---|
IRigidBody3D |
BodyB
Gets the second body attached to this joint.
Declaration
IRigidBody3D BodyB { get; }
Property Value
Type | Description |
---|---|
IRigidBody3D |
BreakingImpulseThreshold
Gets or sets the amount of force that a joint can take before breaking.
Declaration
float BreakingImpulseThreshold { get; set; }
Property Value
Type | Description |
---|---|
float |
DebugDrawSize
Gets or sets the debug draw size of the joint.
Declaration
float DebugDrawSize { get; set; }
Property Value
Type | Description |
---|---|
float |
InternalJoint
Gets the internal Box2D joint.
Declaration
object InternalJoint { get; }
Property Value
Type | Description |
---|---|
object |
IsEnabled
Gets or sets a value indicating whether this joint is active.
Declaration
bool IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
JointFeedback
Gets the joint feedback.
Declaration
IJointFeedback3D JointFeedback { get; }
Property Value
Type | Description |
---|---|
IJointFeedback3D |
NeedsFeedback
Gets or sets a value indicating whether the application needs to receive feedback.
Declaration
bool NeedsFeedback { get; set; }
Property Value
Type | Description |
---|---|
bool |
OverrideNumSolverIterations
Gets or sets the number of solver iterations.
Declaration
int OverrideNumSolverIterations { get; set; }
Property Value
Type | Description |
---|---|
int |
Events
OnBroke
Event fires when the joint is broken
Declaration
event OnBrokeEventHandler OnBroke
Event Type
Type | Description |
---|---|
OnBrokeEventHandler |