Class BodySetup
BodySetup contains all collision information that is associated with a single asset.
Inheritance
System.Object
BodySetup
Inherited Members
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)
Assembly: UE4DotNet.dll
Syntax
public class BodySetup : UObject
Remarks
Properties
|
Improve this Doc
View Source
AggGeom
Simplified collision representation of this
Declaration
public KAggregateGeom AggGeom { get; set; }
Property Value
|
Improve this Doc
View Source
bConsiderForBounds
Declaration
public bool bConsiderForBounds { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bDoubleSidedGeometry
Declaration
public bool bDoubleSidedGeometry { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bGenerateMirroredCollision
Declaration
public bool bGenerateMirroredCollision { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bGenerateNonMirroredCollision
Declaration
public bool bGenerateNonMirroredCollision { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bMeshCollideAll
Declaration
public bool bMeshCollideAll { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
BoneName
Used in the PhysicsAsset case. Associates this Body with Bone in a skeletal mesh.
Declaration
public Name BoneName { get; set; }
Property Value
|
Improve this Doc
View Source
bSharedCookedData
Declaration
public bool bSharedCookedData { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
BuildScale3D
Build scale for this body setup (static mesh settings define this value)
Declaration
public Vector BuildScale3D { get; set; }
Property Value
|
Improve this Doc
View Source
CollisionReponse
Collision Type for this body. This eventually changes response to collision to others *
Declaration
public byte CollisionReponse { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
CollisionTraceFlag
Collision Trace behavior - by default, it will keep simple(convex)/complex(per-poly) separate *
Declaration
public byte CollisionTraceFlag { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
DefaultInstance
Default properties of the body instance, copied into objects on instantiation, was URB_BodyInstance
Declaration
public BodyInstance DefaultInstance { get; set; }
Property Value
|
Improve this Doc
View Source
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static BodySetup DefaultObject { get; }
Property Value
|
Improve this Doc
View Source
PhysicsType
If simulated it will use physics, if kinematic it will not be affected by physics, but can interact with physically simulated bodies. Default will inherit from OwnerComponent's behavior.
Declaration
public byte PhysicsType { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
PhysMaterial
Physical material to use for simple collision on this body. Encodes information about density, friction etc.
Declaration
public PhysicalMaterial PhysMaterial { get; set; }
Property Value
|
Improve this Doc
View Source
StaticClass
Declaration
public static Class StaticClass { get; }
Property Value
|
Improve this Doc
View Source
WalkableSlopeOverride
Custom walkable slope setting for this body.
Declaration
public WalkableSlopeOverride WalkableSlopeOverride { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
New(UObject, Name)
Spawn an object of this class
Declaration
public static BodySetup New(UObject obj = null, Name name = default(Name))
Parameters
Returns
Operators
|
Improve this Doc
View Source
Implicit(IntPtr to BodySetup)
Convert from IntPtr to UObject
Declaration
public static implicit operator BodySetup(IntPtr p)
Parameters
Type |
Name |
Description |
System.IntPtr |
p |
|
Returns