{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Struct BodyFrame | Unity Physics | 1.1.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct BodyFrame

    A target in the space of a rigid body that will align with a corresponding target in the space of the other body to which it is constrained.

    Implements
    IEquatable<BodyFrame>
    Inherited Members
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Unity.Physics
    Assembly: solution.dll
    Syntax
    public struct BodyFrame : IEquatable<BodyFrame>

    Constructors

    Name Description
    BodyFrame(RigidTransform)

    Constructor.

    Fields

    Name Description
    Axis

    The bind pose orientation of the joint's x-axis in the space of its rigid body.

    Identity

    The identity BodyFrame.

    PerpendicularAxis

    The bind pose orientation of the joint's y-axis in the space of its rigid body.

    Position

    The bind pose anchor or target position of the joint in the space of its rigid body.

    Methods

    Name Description
    AsRigidTransform()

    Converts this object to a rigid transform.

    Equals(object)

    Tests if this object is considered equal to another.

    Equals(BodyFrame)

    Tests if this BodyFrame is considered equal to another.

    GetHashCode()

    Calculates a hash code for this object.

    ToString()

    Convert this object into a string representation.

    Operators

    Name Description
    implicit operator BodyFrame(RigidTransform)

    Implicit cast that converts the given RigidTransform to a BodyFrame.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)