mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 18:59:09 +00:00
Reintroduce a fun hack
Yeah, looks like PhysX 2.6.4 has a bug with spawning stuff inside of regions. So, let's bring back the hack that spawns the avatar at -2000 feet. The link-in process will set the correct position on the controller and fire the appropriate detectors.
This commit is contained in:
@ -70,7 +70,7 @@ plPhysicalControllerCore::plPhysicalControllerCore(plKey OwnerSceneObject, float
|
|||||||
fMovementStrategy(nil),
|
fMovementStrategy(nil),
|
||||||
fSimLength(0.0f),
|
fSimLength(0.0f),
|
||||||
fLocalRotation(0.0f, 0.0f, 0.0f, 1.0f),
|
fLocalRotation(0.0f, 0.0f, 0.0f, 1.0f),
|
||||||
fLocalPosition(0.0f, 0.0f, 0.0f),
|
fLocalPosition(0.0f, 0.0f, -2000.0f),
|
||||||
fLastLocalPosition(0.0f, 0.0f, 0.0f),
|
fLastLocalPosition(0.0f, 0.0f, 0.0f),
|
||||||
fLinearVelocity(0.0f, 0.0f, 0.0f),
|
fLinearVelocity(0.0f, 0.0f, 0.0f),
|
||||||
fAchievedLinearVelocity(0.0f, 0.0f, 0.0f),
|
fAchievedLinearVelocity(0.0f, 0.0f, 0.0f),
|
||||||
|
Reference in New Issue
Block a user