UE3:KMeshProps (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
(Redirected from UE3:KConvexElem (UT3))
UT3 Object >> KMeshProps
Package:
Engine
Direct subclass:
RB_BodySetup
This class in other games:

Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.

Properties

Property group 'KMeshProps'

AggGeom

Type: KAggregateGeom


COMNudge

Type: Object.Vector

User-entered offset. UNREAL UNITS

Structs

KAggregateGeom

array<KSphereElem> SphereElems
array<KBoxElem> BoxElems
array<KSphylElem> SphylElems
array<KConvexElem> ConvexElems
pointer RenderInfo

KBoxElem

Object.Matrix TM
float X
float Y
float Z
length (not radius)
bool bNoRBCollision
Disable rigid body collision for this shape.
bool bPerPolyShape
Check against this shape even when per-poly collision is being used.

Default values:

Property Value
TM
Member Value
WPlane
Member Value
W 1.0
X 0.0
Y 0.0
Z 0.0
XPlane
Member Value
W 0.0
X 1.0
Y 0.0
Z 0.0
YPlane
Member Value
W 0.0
X 0.0
Y 1.0
Z 0.0
ZPlane
Member Value
W 0.0
X 0.0
Y 0.0
Z 1.0
X 1.0
Y 1.0
Z 1.0

KConvexElem

One convex hull, used for simplified collision.

array<Object.Vector> VertexData
Array of indices that make up the convex hull.
array<Object.Plane> PermutedVertexData
Array of planes holding the vertex data in SIMD order
array<int> FaceTriData
Index buffer for triangles making up the faces of this convex hull.
array<Object.Vector> EdgeDirections
All different directions of edges in this hull.
array<Object.Vector> FaceNormalDirections
All different directions of face normals in this hull.
array<Object.Plane> FacePlaneData
Array of the planes that make up this convex hull.
Object.Box ElemBox
Bounding box of this convex hull.

KSphereElem

Object.Matrix TM
float Radius
bool bNoRBCollision
Disable rigid body collision for this shape.
bool bPerPolyShape
Check against this shape even when per-poly collision is being used.

Default values:

Property Value
Radius 1.0
TM
Member Value
WPlane
Member Value
W 1.0
X 0.0
Y 0.0
Z 0.0
XPlane
Member Value
W 0.0
X 1.0
Y 0.0
Z 0.0
YPlane
Member Value
W 0.0
X 0.0
Y 1.0
Z 0.0
ZPlane
Member Value
W 0.0
X 0.0
Y 0.0
Z 1.0

KSphylElem

Object.Matrix TM
The transform assumes the sphyl axis points down Z.
float Radius
float Length
This is of line-segment ie. add Radius to both ends to find total length.
bool bNoRBCollision
Disable rigid body collision for this shape.
bool bPerPolyShape
Check against this shape even when per-poly collision is being used.

Default values:

Property Value
Length 1.0
Radius 1.0
TM
Member Value
WPlane
Member Value
W 1.0
X 0.0
Y 0.0
Z 0.0
XPlane
Member Value
W 0.0
X 1.0
Y 0.0
Z 0.0
YPlane
Member Value
W 0.0
X 0.0
Y 1.0
Z 0.0
ZPlane
Member Value
W 0.0
X 0.0
Y 0.0
Z 1.0