Hello,
I have followed the tutorials and instructions down to the letter. I used custom characters from the unity store instead of Brown Pants (Maybe that's where I went wrong).
For some reason I can get the character to spawn, but I can't seem to get it to move at all.
When I am taken to the scene, I am the main camera. I attached the main camera to the player and when I try again the results is a character that can't move, and a wobbly camera that is attached in whatever position I manually put it in.
I've mostly worked on Environmental stuff before so this is my first real time working with importing custom characters and trying to make them work. Plus it seems that copying everything on the standard Asset 3rd Person Control doesn't work at all.
Can anyone help me figure this out?
Thank You!
Are you using the demo project to swap characters or your own fresh project?
In Base/Control > Player Controls of the framework how is everything setup there?
some things to try in the meantime
1. Instead of using the 3rd person standard from unity try setting up 3rd person controller in ork framework Base/Control > Camera Controls ex: Camera Control Type: Follow
or
2. in the same place(Base/Control) at the bottom > Custom Controls set up your custom 3rd person there(the unity default 3rd person you're using)
I made a short video of the issue I am having. I hope this helps.
If yes, disable Apply Root Motion in the animator's inspector - root motion and control via character controller doesn't work well together :)
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
So far you're only affecting unity's standard 3rd person. I suggest just getting rid of it completely and just starting fresh using just ORK. It will be much easier.
So in your Assets folder> Standard Assets get rid of the folder called Character Controllers.
You don't necessarily need it unless you want to make custom controls for ORK. I suggest first time around to just let ORK manage controllers for you in the framework editor
Next; make sure you have an actual character controller(physics component) like you have in your video on your character * the green icon character controller component under your animator
Next; make sure your animator has Apply Root Motion off like @gamingislove suggested
Next; Detach your Main Camera from your player but leave it in the scene.
Next go in the framwework editor here:
Link Here
and set your Camera Control Type: Follow
You'll need to tweak the values of : Distance, Height, Height Damping and Rotation Damping to your liking.
There are many other preset control types in there too that automatically do their job thanks to @gamingislove
Next; in the same place above it in Player Controls setup your jump by enabling Use Jump
Hope any of this helps
The error I am getting is:
NullReferenceException: Object reference not set to an instance of an object
ORKFramework.Behaviours.ButtonPlayerController.UpdateSmoothedMovementDirection ()
ORKFramework.Behaviours.ButtonPlayerController.Update ()
This is boggling my mind. Everything on my end is working even with mecanim..
Can you post more screenshots of your setup?
Yes it would move whether you have animations or not it just wouldn't animate.
did you turn off Apply Root Motion on the animator?
did you change any of the inputs in the input manager? Make sure your inputs are correctly setup
Edit>Project Settings> Input
screenshot
Then make sure they are allocated properly in Ork Framework> Base/Control> Player Controls
Vertical Axis, Horizontal Axis
and create a jump key input in Ork Framework Input keys if you've added jump.
screenshot
Make sure all your Input Keys and Inputs correspond to eachother
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
So I can move the player now.
I copied the Main Camera from the Main Menu Scene and replaced the "Camera from the scene where my player spawns. This is because I originally deleted the Main Camera (Old Habit) When I was making the map and used the First person and Third Person controller to check my map so I can see it how the player would see it.
I then added the Main Camera to the Camera Control and deleted the Audio Listener from the Main Camera. (It's on the player).
From there I adjusted the Spawn Point by moving it higher in the air and Clicking the Place on Ground option.
The player now moves, but I can't see it's lower half.
Here's my issue now.
I can't see it's lower half AND it appears to be moving through the ground. Half above and Half Below.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!