x


fps change graphic

I want to have my own FPS model instead of the cyclinder . To do this I tried

1) look for a way to swap the cyclinder over to my image (say a cube for now).Couldnt find how to do this.

2) deleted the fps and created a cube with a camera and tried to add a Thirdpersoncontroller.js to the c# project to control movement and this didnt work.

What method is used to change the fps model from a cyclinder to what I want.

more ▼

asked Jun 12 '12 at 01:42 AM

jagguy gravatar image

jagguy
30 5 26 36

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

You need to make your object a child of the player object in the fps controller, to be honest you should go do some tutorials before coming to answers with questions like this. Check out http://unity3d.com/support/resources/tutorials/ to get started using Unity.

Good luck

more ▼

answered Jun 12 '12 at 02:03 AM

pudd1nG gravatar image

pudd1nG
394 1 3 7

I have done many tutorials and it isnt obvious you do this in fact . Also I googled this for a while and didnt get anywhere .

I went through a number of tutorials to date and I have much working. Neither of these methods simply delete the capsule and replace it with the object you want.

http://www.swinburne.edu.au/design/tutorials/unity/create-a-mario-style-side-scroller-game-in-unity/

http://www.youtube.com/watch?v=5pkeRlpjFzQ&feature=plcp

Ok I added a cube to the fps and deleted the graphic but the object walks into objects a little. So I have a cube instead of a cyclinder.

If I put the collider on the cube it doesnt move forward or moves too slowly.

Jun 12 '12 at 02:06 AM jagguy

if it moves to slowly, then edit the speed in the first person controller script or third person script depending on which you use. if you click on the object in the hierarchy, in this case your cube, if it has one of the two scripts obove on it in the asset windows it will have options you can edit.

Jun 12 '12 at 03:24 AM awesomeaustin316

I dont like the sound of that to be honest. If the defaults are not working I dont tend to pursue this. Also when it does move it walks into objects a little. Maybe thats why people dont simply use the FPS controller.

I have been looking at how to make a fps controller but this is not in c#. http://www.youtube.com/watch?v=5pkeRlpjFzQ&feature=plcp

I can get it to work apart from the move camera y axis transform.rotation=Quaternion.Euler(mycamera.GetComponent(MouseLook).y..

Jun 12 '12 at 03:59 AM jagguy
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1172

asked: Jun 12 '12 at 01:42 AM

Seen: 319 times

Last Updated: Jun 12 '12 at 04:20 AM