Class PhysicsAsset
PhysicsAsset contains a set of rigid bodies and constraints that make up a single ragdoll.
Inherited Members
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 SourcebNotForDedicatedServer
Declaration
public bool bNotForDedicatedServer { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
bUseAsyncScene
Declaration
public bool bUseAsyncScene { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
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.
CurrentConstraintProfileName
Current Constraint Profile Name
Declaration
public Name CurrentConstraintProfileName { get; set; }
Property Value
Type | Description |
---|---|
Name |
CurrentPhysicalAnimationProfileName
Current Physical Animation Profile Name
Declaration
public Name CurrentPhysicalAnimationProfileName { get; set; }
Property Value
Type | Description |
---|---|
Name |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static PhysicsAsset DefaultObject { get; }
Property Value
Type | Description |
---|---|
PhysicsAsset |
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.
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
ThumbnailInfo
Information for thumbnail rendering
Declaration
public ThumbnailInfo ThumbnailInfo { get; set; }
Property Value
Type | Description |
---|---|
ThumbnailInfo |
Methods
| Improve this Doc View SourceNew(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 SourceImplicit(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 |