Show / Hide Table of Contents

    Class PhysicsUtils

    Inheritance
    System.Object
    PhysicsUtils
    Namespace: Motphys.Rigidbody
    Assembly: solution.dll
    Syntax
    public static class PhysicsUtils

    Methods

    CreatePrimitive(PrimitiveType)

    Create gameobject with motphys collider by primitive type.

    Declaration
    public static GameObject CreatePrimitive(PrimitiveType primitiveType)
    Parameters
    Type Name Description
    PrimitiveType primitiveType
    Returns
    Type Description
    GameObject

    CreatePrimitive(PrimitiveType, Vector3)

    Create gameobject with motphys collider by primitive type.

    Declaration
    public static GameObject CreatePrimitive(PrimitiveType primitiveType, Vector3 position)
    Parameters
    Type Name Description
    PrimitiveType primitiveType
    Vector3 position
    Returns
    Type Description
    GameObject
    Back to top Copyright © 2020-2024 北京谋先飞技术有限公司及其关联公司北京谋先飞科技有限公司
    Generated by DocFX