mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 00:24:40 +00:00
rev 1 refactor for fitting rigidshape into the vehicle hierarchy.
cleaned a few, but by no means all redundancies.
DO NOTE THE FOLLOWING:
ShapeBase::processTick(move);
ShapeBase::interpolateTick(dt);
to avoid side effects for now. properly those would be retooled down the line to be more inheritance-friendly.
This commit is contained in:
parent
45a19453ee
commit
d6b6f36b0a
4 changed files with 39 additions and 81 deletions
|
|
@ -146,11 +146,6 @@ class RigidShape: public ShapeBase
|
|||
SimObjectPtr<ParticleEmitter> mDustTrailEmitter;
|
||||
|
||||
protected:
|
||||
enum CollisionFaceFlags
|
||||
{
|
||||
BodyCollision = BIT(0),
|
||||
WheelCollision = BIT(1),
|
||||
};
|
||||
enum MaskBits {
|
||||
PositionMask = Parent::NextFreeMask << 0,
|
||||
EnergyMask = Parent::NextFreeMask << 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue