3D Action RPG character Ellen (moving via a character controller)
If you create an Item with Schematic (setting in Block player Control) and Ellen touch it,
The character's Speed will fluctuate.
(Suddenly starts running and stops repeatedly)
How can I set Speed to 0?
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Schematic : Settings(BlockPlayerControl)+Wait(5sec)
In the thread "How does "Block Player Control" Effect the Movement Script?"
You probably need to move it with a Vector3.zero direction to cancel out the previous movement/speed when it's disabled.
There is a description, but I don't know how to do it specifically with Schematic.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
>the built-in controls handle this automatically
I am making it work by changing the character(by built-in control), but the action changes depending on the character.
(I tried about 5 characters, but only Ellen stopped correctly.)
Is there a Schematic way to manually clear the movement of the Chractor Controller?
Or use a Call Function node to directly call the CharacterController component's Move function with a 0 Vector3 value
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Even if I disable ChractorContoler, Speed(Variable) may fluctuate.
The same behavior occurs even if you manually disable the Button Controller(Component).
There seems to be a problem with the Button Controller settings.
BlockPlayerControl= Disabling Button Controller (Component) ⇒Speed behavior becomes strange
There was no problem when I manually set the Vertical Axis to None and the Horizontal Axis to None of Button Controller (Component) .
By disabling the Button Controller(Component)
It is assumed that the Move Type (=Animator Root Motion) setting change to incorrect.
How to set Vertical Axis to None and Horizontal Axis to None of Button Controller (Component)
①Please tell me how to do it with Schmatic.
②Please tell me how to do it with C#Script.
①Please tell me how to do it with Schmatic.
②Please tell me how to do it with C#Script.
You can't change the settings of the player control via schematics.
You can change it via script, e.g. to select none:
component.settings.horizontalAxis.SetAsset(null);
component.settings.verticalAxis.SetAsset(null);
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
ButtonPlayerController component = gameObject.GetComponent<ButtonPlayerController>();
It uses the namespace GamingIsLove.ORKFramework.Components.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
but I don't know how to put it back
How to set Vertical Axis to [5:Vetical Move] and Horizontal Axis to [4:Horizonal Move] of Button Controller (Component)
Please tell me how to do it with C#Script.
component.settings.horizontalAxis.SetAsset(Maki.InputKeys.GetAsset(4));
component.settings.verticalAxis.SetAsset(Maki.InputKeys.GetAsset(5));
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
> If you can show me the setup of them
I haven't changed the settings from Ellen's