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

Capsule shape used for collision. Z axis is capsule axis. Has a start and end radius that can differ. 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.
FKTaperedCapsuleElem & opAssign (FKTaperedCapsuleElem 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 Radius0
 Radius of the capsule start point.
float32 Radius1
 Radius of the capsule end point.
float32 Length
 Length of line-segment. Add Radius0 and Radius 1 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. Has a start and end radius that can differ.

Member Function Documentation

◆ opAssign()

◆ 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

Length of line-segment. Add Radius0 and Radius 1 to find total length.

◆ Name

FName Name

User-defined name for this shape.

◆ Radius0

float32 Radius0

Radius of the capsule start point.

◆ Radius1

float32 Radius1

Radius of the capsule end point.

◆ 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.