mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-20 04:09:16 +00:00
Fix spawning inside regions (cherry picked from commit fe5ad6d437
)
Author: Adam Johnson <AdamJohnso@gmail.com> Date: Tue Feb 5 18:59:20 2013 -0500 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:
@ -68,7 +68,7 @@ plPhysicalControllerCore::plPhysicalControllerCore(plKey OwnerSceneObject, hsSca
|
||||
fMovementStrategy(nil),
|
||||
fSimLength(0.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),
|
||||
fLinearVelocity(0.0f, 0.0f, 0.0f),
|
||||
fAchievedLinearVelocity(0.0f, 0.0f, 0.0f),
|
||||
|
Reference in New Issue
Block a user