|
| Collision (TwinEEngine *engine) |
|
bool | checkZvOnZv (int32 actorIdx1, int32 actorIdx2) const |
|
void | reajustPos (IVec3 &processActor, ShapeType brickShape) const |
|
int32 | checkObjCol (int32 actorIdx) |
|
bool | checkValidObjPos (int32 actorIdx) |
|
void | setCollisionPos (const IVec3 &pos) |
|
uint32 | doCornerReajustTwinkel (ActorStruct *actor, int32 x, int32 y, int32 z, int32 damageMask) |
|
uint32 | doCornerReajust (ActorStruct *actor, int32 x, int32 y, int32 z, int32 damageMask) |
|
void | receptionObj (int actorIdx) |
|
int32 | extraCheckObjCol (ExtraListStruct *extra, int32 actorIdx) |
|
bool | fullWorldColBrick (int32 x, int32 y, int32 z, const IVec3 &oldPos) |
|
int32 | extraCheckExtraCol (ExtraListStruct *extra, int32 extraIdx) const |
|
◆ checkZvOnZv()
bool TwinE::Collision::checkZvOnZv |
( |
int32 |
actorIdx1, |
|
|
int32 |
actorIdx2 |
|
) |
| const |
Check if actor 1 is standing in actor 2
- Parameters
-
◆ reajustPos()
void TwinE::Collision::reajustPos |
( |
IVec3 & |
processActor, |
|
|
ShapeType |
brickShape |
|
) |
| const |
Reajust actor position in scene according with brick shape bellow actor
- Parameters
-
brickShape | Shape of brick bellow the actor |
◆ checkObjCol()
int32 TwinE::Collision::checkObjCol |
( |
int32 |
actorIdx | ) |
|
Check collision with actors
- Parameters
-
actorIx | Current process actor index |
◆ doCornerReajustTwinkel()
uint32 TwinE::Collision::doCornerReajustTwinkel |
( |
ActorStruct * |
actor, |
|
|
int32 |
x, |
|
|
int32 |
y, |
|
|
int32 |
z, |
|
|
int32 |
damageMask |
|
) |
| |
Check Hero collision with bricks
- Parameters
-
x | Hero X coordinate |
y | Hero Y coordinate |
z | Hero Z coordinate |
damageMask | Cause damage mask |
◆ doCornerReajust()
uint32 TwinE::Collision::doCornerReajust |
( |
ActorStruct * |
actor, |
|
|
int32 |
x, |
|
|
int32 |
y, |
|
|
int32 |
z, |
|
|
int32 |
damageMask |
|
) |
| |
Check other actor collision with bricks
- Parameters
-
x | Actor X coordinate |
y | Actor Y coordinate |
z | Actor Z coordinate |
damageMask | Cause damage mask |
◆ receptionObj()
void TwinE::Collision::receptionObj |
( |
int |
actorIdx | ) |
|
Make actor to stop falling
◆ extraCheckObjCol()
int32 TwinE::Collision::extraCheckObjCol |
( |
ExtraListStruct * |
extra, |
|
|
int32 |
actorIdx |
|
) |
| |
Check extra collision with actors
- Parameters
-
extra | to process |
actorIdx | actor to check collision |
◆ fullWorldColBrick()
bool TwinE::Collision::fullWorldColBrick |
( |
int32 |
x, |
|
|
int32 |
y, |
|
|
int32 |
z, |
|
|
const IVec3 & |
oldPos |
|
) |
| |
Check extra collision with bricks
◆ extraCheckExtraCol()
int32 TwinE::Collision::extraCheckExtraCol |
( |
ExtraListStruct * |
extra, |
|
|
int32 |
extraIdx |
|
) |
| const |
Check extra collision with another extra
- Parameters
-
extra | to process |
extraIdx | extra index to check collision |
◆ _collision
IVec3 TwinE::Collision::_collision |
Actor collision coordinate
The documentation for this class was generated from the following file: