#include <Collisions.h>
◆ PrepareAndCheckIfStationary()
bool CollisionState::PrepareAndCheckIfStationary |
( |
Duration |
dt = 0_ticks | ) |
|
- Original binary offset:
- 0x0047050A.
Prepares this struct by filling all necessary fields, and checks whether there is actually no movement.
- Parameters
-
dt | Time delta. Pass 0_ticks to take the correct value from global pEventTimer . |
- Returns
- True if there is no movement, false otherwise.
◆ adjusted_move_distance
float CollisionState::adjusted_move_distance |
◆ bbox
BBoxf CollisionState::bbox |
◆ check_hi
bool CollisionState::check_hi |
◆ collisionPos
Vec3f CollisionState::collisionPos |
◆ direction
Vec3f CollisionState::direction |
◆ move_distance
float CollisionState::move_distance |
◆ new_position_hi
Vec3f CollisionState::new_position_hi |
◆ new_position_lo
Vec3f CollisionState::new_position_lo |
◆ pid
◆ position_hi
Vec3f CollisionState::position_hi |
◆ position_lo
Vec3f CollisionState::position_lo |
◆ radius_hi
float CollisionState::radius_hi |
◆ radius_lo
float CollisionState::radius_lo |
◆ speed
float CollisionState::speed = 0 |
◆ total_move_distance
float CollisionState::total_move_distance |
◆ uSectorID
int CollisionState::uSectorID = 0 |
◆ velocity
Vec3f CollisionState::velocity |
The documentation for this struct was generated from the following files: