mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-23 16:43:50 +00:00
retooled spherical force ammount display to be based on mAppliedForce
This commit is contained in:
parent
80e34d88a0
commit
0444410486
1 changed files with 1 additions and 1 deletions
|
|
@ -297,7 +297,7 @@ void PhysicalZone::renderObject(ObjectRenderInst *ri,
|
|||
F32 rad = obb.getBoundingSphere().radius/ 2;
|
||||
drawer->drawSphere(desc, rad, start, ColorI(0, 255, 0, 45));
|
||||
|
||||
rad = (rad + forceLen / 2)/2;
|
||||
rad = (rad + (mAppliedForce.most() / baseForce))/2;
|
||||
desc.setFillModeWireframe();
|
||||
drawer->drawSphere(desc, rad, start, ColorI(0, 0, 255, 255));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue