Je veux faire du bevy
C'est mieux, honêtement
This commit is contained in:
parent
2ad6cc9bdb
commit
29e5e48aee
18 changed files with 32090 additions and 26395 deletions
|
@ -23,6 +23,6 @@ public class CameraMouvement : MonoBehaviour
|
|||
void Update()
|
||||
{
|
||||
var mouvement = moveSpeed * Time.deltaTime * (new Vector3(_moveInput.y, 0, -_moveInput.x));
|
||||
transform.Translate(mouvement, Space.World);
|
||||
transform.Translate(transform.TransformVector(mouvement), Space.World);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue