mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
addphysics: set angular velocity too
This commit is contained in:
parent
caca976e0c
commit
24482174f1
@ -73,6 +73,7 @@ public class AddPhysics : MonoBehaviour
|
||||
transform.parent = bodyGo.transform;
|
||||
owRigidbody.SetMass(Mass);
|
||||
owRigidbody.SetVelocity(parentBody.GetPointVelocity(transform.position));
|
||||
owRigidbody.SetAngularVelocity(parentBody.GetAngularVelocity());
|
||||
|
||||
// #536 - Physics objects in bramble dimensions not disabled on load
|
||||
// sectors wait 3 frames and then call OnSectorOccupantsUpdated
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user