public class PhysicalBone : PhysicsBody

Inheritance Chain

Constructors

    public PhysicalBone()

Properties

    public Transform BodyOffset { get; set; }

    public float Bounce { get; set; }

    public float Friction { get; set; }

    public float GravityScale { get; set; }

    public Transform JointOffset { get; set; }

    public JointTypeEnum JointType { get; set; }

    public float Mass { get; set; }

    public float Weight { get; set; }

Methods

    public Transform GetBodyOffset()

Getter for BodyOffset

    public int GetBoneId()

    public float GetBounce()

Getter for Bounce

    public float GetFriction()

Getter for Friction

    public float GetGravityScale()

Getter for GravityScale

    public Transform GetJointOffset()

Getter for JointOffset

    public JointTypeEnum GetJointType()

Getter for JointType

    public float GetMass()

Getter for Mass

    public bool GetSimulatePhysics()

    public float GetWeight()

Getter for Weight

    public bool IsSimulatingPhysics()

    public bool IsStaticBody()

    public void SetBodyOffset(Transform offset)

Setter for BodyOffset

    public void SetBounce(float bounce)

Setter for Bounce

    public void SetFriction(float friction)

Setter for Friction

    public void SetGravityScale(float gravityScale)

Setter for GravityScale

    public void SetJointOffset(Transform offset)

Setter for JointOffset

    public void SetJointType(JointTypeEnum jointType)

Setter for JointType

    public void SetMass(float mass)

Setter for Mass

    public void SetWeight(float weight)

Setter for Weight

Inner Types

JointTypeEnum

Name Value Description
None 0  
Pin 1  
Cone 2  
Hinge 3  
Slider 4  
Type6dof    
Tags: