I want to test working with characters by adding the soldier to the iPhone Occlusion demo.
I have the soldier artwork added.
- How do I add him to the scene
- How do I setup so I can see the his viewpoint, see the character from some position just behind him, to some standard camera view
- Assume he is scaled .5 .5 .5 (unless there’s a better scale), what do I do so he can walk through the set with the camera following per my previous question
- How do I make him not walk through walls
- How do I tell the camera not to go through walls
- since this iPhone based, I need to do this using the First Person Controller in the Occlusion demo
Give the tutorials that are available for unity a go
They will help you to learn the basics of using unity
Once that knowledge is present, you will be in a much better position to focuse on working on an iphone title and learn the additional things you need to know to work on the iphone.
I went through the tutorials and haven’t found exactly what I need to know, hence the specific questions.
How do you add a character to a scene at the correct scale height, view it properly, and make the camera follow you.
If you would point to specific tutorials that answer those questions I’ll go look at them.
Thanks,
r.b.
You drag it into the scene, alter scale and height in the transform, add a corresponding component for the camera behavior to the camera
If it is animated you likely will have to setup the animation
Thats what you will find in the tutorials as well as about any sample project as well.
Thats it, there is not more to it beside writting the code that does what you want it to do.
Be it movement, camera behavior, animation or whatever
As for X not go through walls: this is done through collision and handle the collision events correspondingly to get the desired behavior.
Your questions are pretty basic actually and covered by the first parts of the documentation on how to use the editor etc
I already dragged him into the scene and used transform to scale the model (.5 .5 .5) as noted, which I already got from the very same tutorials thanks much.
He is not visible however when running the game, though I do see the model in the scene window.
As I said, I have done the tutorials, it appears I am missing something, hence the specific questions as to how to solve the problem.
Well I got the soldier into the scene, needed to adjust the z-axis. He’s in the hierarchy:
First Person Controller
Soldier
Spotlight
wareHouseFBX
Next issue is how to make him move and to set his viewpoints as required.