I’ve been working on a 2D RPG game in Unity, and for some reason, whenever my character runs into a wall, the camera begins to shake violently. I have a RigidBody2D and a BoxCollider2D connected to him and a TilemapCollider connected to my Tilemap. The RigidBody component is Dynamic with a gravity scale of 0 […]
- Tags and for some reason, change.x); animator.SetFloat("moveY", change.y); animator.SetBool("moving", false); } } void MoveCharacter() { // Allows movement on the X axis and calculations to allow the player to mov, I've been working on a 2D RPG game in Unity, the camera begins to shake violently. I have a RigidBody2D and a BoxCollider2D connected to him and a TilemapCollider connected to my Tilemap, the camera is a child of the player. Here's the script to my character controller: using UnityEngine; using System.Collections; using System, true); } else { animator.SetBool("moving", whenever my character runs into a wall