mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
REVIEW LATER: invert the world transform for probes to shove them into cam space as far as rotation goes. keep position.
This commit is contained in:
parent
daef7aa128
commit
79e2d5d459
2 changed files with 4 additions and 3 deletions
|
|
@ -471,6 +471,7 @@ void ReflectionProbe::updateProbeParams()
|
|||
mProbeInfo->mProbeShapeType = mProbeShapeType;
|
||||
|
||||
mProbeInfo->mTransform = getWorldTransform();
|
||||
mProbeInfo->mTransform.inverse();
|
||||
mProbeInfo->setPosition(getPosition());
|
||||
|
||||
//Point3F pos = mProbeInfo->mTransform.getPosition();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue