Click or drag to resize

Joint Class

Inheritance Hierarchy
SystemObject
  Internal.tainicom.Aether.Physics2D.Dynamics.JointsJoint
    More...

Namespace:  Internal.tainicom.Aether.Physics2D.Dynamics.Joints
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public abstract class Joint

The Joint type exposes the following members.

Constructors
  NameDescription
Protected methodJoint
Initializes a new instance of the Joint class
Protected methodJoint(Body)
Constructor for fixed joint
Protected methodJoint(Body, Body)
Initializes a new instance of the Joint class
Top
Properties
  NameDescription
Public propertyBodyA
Get the first body attached to this joint.
Public propertyBodyB
Get the second body attached to this joint.
Public propertyBreakpoint
The Breakpoint simply indicates the maximum Value the JointError can be before it breaks. The default value is float.MaxValue, which means it never breaks.
Public propertyCollideConnected
Set this flag to true if the attached bodies should collide.
Public propertyJointType
Gets or sets the type of the joint.
Public propertyWorld
Get the parent World of this joint. This is null if the joint is not attached.
Public propertyWorldAnchorA
Get the anchor point on bodyA in world coordinates. On some joints, this value indicate the anchor point within the world.
Public propertyWorldAnchorB
Get the anchor point on bodyB in world coordinates. On some joints, this value indicate the anchor point within the world.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetReactionForce
Get the reaction force on body at the joint anchor in Newtons.
Public methodGetReactionTorque
Get the reaction torque on the body at the joint anchor in N*m.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsFixedType
Return true if the joint is a fixed type.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodWakeBodies
Top
Events
  NameDescription
Public eventBroke
Fires when the joint is broken.
Top
Fields
  NameDescription
Public fieldEnabled
Indicate if this join is enabled or not. Disabling a joint means it is still in the simulation, but inactive.
Public fieldTag
Set the user data pointer.
Top
Extension Methods
See Also
Inheritance Hierarchy
SystemObject
  Internal.tainicom.Aether.Physics2D.Dynamics.JointsJoint
    Internal.tainicom.Aether.Physics2D.Dynamics.JointsAngleJoint
    Internal.tainicom.Aether.Physics2D.Dynamics.JointsDistanceJoint
    Internal.tainicom.Aether.Physics2D.Dynamics.JointsFixedMouseJoint
    Internal.tainicom.Aether.Physics2D.Dynamics.JointsFrictionJoint
    Internal.tainicom.Aether.Physics2D.Dynamics.JointsGearJoint
    Internal.tainicom.Aether.Physics2D.Dynamics.JointsMotorJoint
    Internal.tainicom.Aether.Physics2D.Dynamics.JointsPrismaticJoint
    Internal.tainicom.Aether.Physics2D.Dynamics.JointsPulleyJoint
    Internal.tainicom.Aether.Physics2D.Dynamics.JointsRevoluteJoint
    Internal.tainicom.Aether.Physics2D.Dynamics.JointsRopeJoint
    Internal.tainicom.Aether.Physics2D.Dynamics.JointsWeldJoint
    Internal.tainicom.Aether.Physics2D.Dynamics.JointsWheelJoint