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

    [Obsolete("GetBodyOffset is deprecated. Use the BodyOffset property instead.")]
    public Transform GetBodyOffset()

Getter for BodyOffset

    public int GetBoneId()

    [Obsolete("GetBounce is deprecated. Use the Bounce property instead.")]
    public float GetBounce()

Getter for Bounce

    [Obsolete("GetFriction is deprecated. Use the Friction property instead.")]
    public float GetFriction()

Getter for Friction

    [Obsolete("GetGravityScale is deprecated. Use the GravityScale property instead.")]
    public float GetGravityScale()

Getter for GravityScale

    [Obsolete("GetJointOffset is deprecated. Use the JointOffset property instead.")]
    public Transform GetJointOffset()

Getter for JointOffset

    [Obsolete("GetJointType is deprecated. Use the JointType property instead.")]
    public JointTypeEnum GetJointType()

Getter for JointType

    [Obsolete("GetMass is deprecated. Use the Mass property instead.")]
    public float GetMass()

Getter for Mass

    public bool GetSimulatePhysics()

    [Obsolete("GetWeight is deprecated. Use the Weight property instead.")]
    public float GetWeight()

Getter for Weight

    public bool IsSimulatingPhysics()

    public bool IsStaticBody()

    [Obsolete("SetBodyOffset is deprecated. Use the BodyOffset property instead.")]
    public void SetBodyOffset(Transform offset)

Setter for BodyOffset

    [Obsolete("SetBounce is deprecated. Use the Bounce property instead.")]
    public void SetBounce(float bounce)

Setter for Bounce

    [Obsolete("SetFriction is deprecated. Use the Friction property instead.")]
    public void SetFriction(float friction)

Setter for Friction

    [Obsolete("SetGravityScale is deprecated. Use the GravityScale property instead.")]
    public void SetGravityScale(float gravityScale)

Setter for GravityScale

    [Obsolete("SetJointOffset is deprecated. Use the JointOffset property instead.")]
    public void SetJointOffset(Transform offset)

Setter for JointOffset

    [Obsolete("SetJointType is deprecated. Use the JointType property instead.")]
    public void SetJointType(JointTypeEnum jointType)

Setter for JointType

    [Obsolete("SetMass is deprecated. Use the Mass property instead.")]
    public void SetMass(float mass)

Setter for Mass

    [Obsolete("SetWeight is deprecated. Use the Weight property instead.")]
    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: