Show / Hide Table of Contents

Class PhysicsAsset

PhysicsAsset contains a set of rigid bodies and constraints that make up a single ragdoll.

Inheritance
System.Object
UObject
PhysicsAsset
Inherited Members
UObject.TransientPackage
UObject.CastTo<T>(UObject)
UObject.CastTo(UObject, Type)
UObject.RemoveObject(UObject)
UObject.MakeObjectArrayField<T>(NativeArray*)
UObject.NotImplemented<T>()
UObject.Construct()
UObject.GetHashCode()
UObject.GetName()
UObject.ToString()
UObject.Name
UObject._None
UObject.None
UObject.ObjPointer
UObject.LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
UObject.LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
UObject.GetPropertyFor<T>(Name)
UObject.ExecuteUbergraph
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class PhysicsAsset : UObject
Remarks

The asset is not limited to human ragdolls, and can be used for any physical simulation using bodies and constraints. A SkeletalMesh has a single PhysicsAsset, which allows for easily turning ragdoll physics on or off for many SkeletalMeshComponents The asset can be configured inside the Physics Asset Editor.

@see https://docs.unrealengine.com/latest/INT/Engine/Physics/PhAT/Reference/index.html @see USkeletalMesh

Properties

| Improve this Doc View Source

bNotForDedicatedServer

Declaration
public bool bNotForDedicatedServer { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bUseAsyncScene

Declaration
public bool bUseAsyncScene { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ConstraintSetup

Array of RB_ConstraintSetup objects.

Declaration
public ObjectArrayField<PhysicsConstraintTemplate> ConstraintSetup { get; }
Property Value
Type Description
ObjectArrayField<PhysicsConstraintTemplate>
Remarks

Stores information about a joint between two bodies, such as position relative to each body, joint limits etc.

| Improve this Doc View Source

CurrentConstraintProfileName

Current Constraint Profile Name

Declaration
public Name CurrentConstraintProfileName { get; set; }
Property Value
Type Description
Name
| Improve this Doc View Source

CurrentPhysicalAnimationProfileName

Current Physical Animation Profile Name

Declaration
public Name CurrentPhysicalAnimationProfileName { get; set; }
Property Value
Type Description
Name
| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

Declaration
public static PhysicsAsset DefaultObject { get; }
Property Value
Type Description
PhysicsAsset
| Improve this Doc View Source

SkeletalBodySetups

Array of SkeletalBodySetup objects.

Declaration
public ObjectArrayField<SkeletalBodySetup> SkeletalBodySetups { get; }
Property Value
Type Description
ObjectArrayField<SkeletalBodySetup>
Remarks

Stores information about collision shape etc. for each body. Does not include body position - those are taken from mesh.

| Improve this Doc View Source

StaticClass

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class
| Improve this Doc View Source

ThumbnailInfo

Information for thumbnail rendering

Declaration
public ThumbnailInfo ThumbnailInfo { get; set; }
Property Value
Type Description
ThumbnailInfo

Methods

| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

Declaration
public static PhysicsAsset New(UObject obj = null, Name name = default(Name))
Parameters
Type Name Description
UObject obj
Name name
Returns
Type Description
PhysicsAsset

Operators

| Improve this Doc View Source

Implicit(IntPtr to PhysicsAsset)

Convert from IntPtr to UObject

Declaration
public static implicit operator PhysicsAsset(IntPtr p)
Parameters
Type Name Description
System.IntPtr p
Returns
Type Description
PhysicsAsset
  • Improve this Doc
  • View Source
Back to top Generated by DocFX