After adding in code to make a player move in unity, I ran the game to see if the player would move, but only the capsule collider part of the player would move, not the player design itself.
This is what it looks like when I try to move the character around:
Only the capsule collider for the ParentPlayer and the Raptor character moves around, while the raptor design itself just stays still…
However, when I right-clicked on Raptor and made a 3D object cube and tried moving around again, that cube was able to move.
This is the cube moving around while the raptor is still standing still:
I’m guessing that it might be the Raptor.obj file that’s not working.
I tried dragging Raptor.obj to Cube to see if it would move the raptor design into the Cube file, but then a message shows up saying, “This action will break the prefab instance. Are you sure you wish to continue?”. I feel like doing this may break the game though.
ParentPlayer components:
Transform, Player Controller script (no errors), Player Motor script (no errors), NavMeshAgent, Capsule Collider, Rigidbody
Raptor components:
Transform, Rigidbody
Raptor.obj components:
Transform, Raptor.obj mesh filter, Mesh renderer
Cube components:
Transform, Cube mesh filter, Mesh renderer, box collider