diff --git a/Engine/source/T3D/player.h b/Engine/source/T3D/player.h index 1e0a76cb0..b8d1e5cfc 100644 --- a/Engine/source/T3D/player.h +++ b/Engine/source/T3D/player.h @@ -39,7 +39,10 @@ class DecalData; class SplashData; class PhysicsPlayer; class Player; + +#ifdef TORQUE_OPENVR class OpenVRTrackedObject; +#endif //---------------------------------------------------------------------------- @@ -519,7 +522,9 @@ protected: Point3F mLastPos; ///< Holds the last position for physics updates Point3F mLastWaterPos; ///< Same as mLastPos, but for water +#ifdef TORQUE_OPENVR SimObjectPtr mControllers[2]; +#endif struct ContactInfo {