Preserve contact-owned roots and independent body modes
This commit is contained in:
1 parent
3845ea7114
commit
c9d0c5be59
25 files changed
+16388
-74
No files matched your search
@@ -56,7 +56,7 @@ public sealed class Scooter : IDisposable
|
||||
}
|
||||
public void Reset()
|
||||
{
|
||||
Release();body=default;Steering=default;RiderRotation=Rotation=destination=Vector3.Zero;
|
||||
Release();body=new();Steering=default;RiderRotation=Rotation=destination=Vector3.Zero;
|
||||
faceRate=5;poseClock=impactTime=0;ImpactActive=jumpLatch=RiderStopped=false;wheels.Reset();
|
||||
BodySteps=InputSteps=FrameSteps=Contacts=Jumps=0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user