G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FKSphylElem Struct Reference

Capsule shape used for collision. Z axis is capsule axis. More...

Public Member Functions

Functions
void SetbContributeToMass (bool Value)
 True if this shape should contribute to the overall mass of the body it belongs to. This lets you create extra collision volumes which do not affect the mass properties of an object.
FKSphylElem & opAssign (FKSphylElem Other)
Public Member Functions inherited from FKShapeElem
void SetbContributeToMass (bool Value)
 True if this shape should contribute to the overall mass of the body it belongs to. This lets you create extra collision volumes which do not affect the mass properties of an object.
FKShapeElem & opAssign (FKShapeElem Other)

Public Attributes

Capsule
FRotator Rotation
 Rotation of the capsule.
float32 Radius
 Radius of the capsule.
float32 Length
 This is of line-segment ie. add Radius to both ends to find total length.
FVector Center
 Position of the capsule's origin.
Shape
FName Name
 User-defined name for this shape.
ECollisionEnabled CollisionEnabled
 Course per-primitive collision filtering. This allows for individual primitives to be toggled in and out of sim and query collision without changing filtering details.
float32 RestOffset
 Offset used when generating contact points. This allows you to smooth out the Minkowski sum by radius R. Useful for making objects slide smoothly on top of irregularities.
Public Attributes inherited from FKShapeElem
FName Name
 User-defined name for this shape.
ECollisionEnabled CollisionEnabled
 Course per-primitive collision filtering. This allows for individual primitives to be toggled in and out of sim and query collision without changing filtering details.
float32 RestOffset
 Offset used when generating contact points. This allows you to smooth out the Minkowski sum by radius R. Useful for making objects slide smoothly on top of irregularities.

Detailed Description

Capsule shape used for collision. Z axis is capsule axis.

Member Function Documentation

◆ opAssign()

FKSphylElem & opAssign ( FKSphylElem Other)

◆ SetbContributeToMass()

void SetbContributeToMass ( bool Value)

True if this shape should contribute to the overall mass of the body it belongs to. This lets you create extra collision volumes which do not affect the mass properties of an object.

Member Data Documentation

◆ Center

FVector Center

Position of the capsule's origin.

◆ CollisionEnabled

ECollisionEnabled CollisionEnabled

Course per-primitive collision filtering. This allows for individual primitives to be toggled in and out of sim and query collision without changing filtering details.

◆ Length

float32 Length

This is of line-segment ie. add Radius to both ends to find total length.

◆ Name

FName Name

User-defined name for this shape.

◆ Radius

float32 Radius

Radius of the capsule.

◆ RestOffset

float32 RestOffset

Offset used when generating contact points. This allows you to smooth out the Minkowski sum by radius R. Useful for making objects slide smoothly on top of irregularities.

◆ Rotation

FRotator Rotation

Rotation of the capsule.