maint: various clean up, movement tweaks, and smoothing fixes
This commit is contained in:
@@ -25,7 +25,7 @@ namespace Reset.Units {
|
||||
//Call EndAction() to mark the action as finished, either in success or failure.
|
||||
//EndAction can be called from anywhere.
|
||||
protected override void OnExecute() {
|
||||
agent.SetNewGravity(newSpeed.value, relativity.value, absolute.value);
|
||||
agent.SetNewSpeed(newSpeed.value, relativity.value, absolute.value);
|
||||
EndAction(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user