Jump to content

Character Controller not working


 Share

Recommended Posts

I have the basic scene up (just the ground (rectangular prism) and the cube). Added the character controller on. Its feet are level with the ground and I have not touched any of the player's settings. Cannot move when running the game. No errors or warnings in Debug menu either. What am I doing wrong. I tried lifting the player model above the ground and that didn't work either. 

Sorry I'm new.:mellow:

Link to comment
Share on other sites

14 minutes ago, macklebee said:

Have you followed the steps described in the tutorial? 

https://www.leadwerks.com/docs?page=Tutorials_Games_First-Person-Shooter_Character-Controllers

Does the character have mass, does it have the fps script attached, etc?

Yes I have followed the steps described in the tutorial. The character has mass and the fps script is attached.

Link to comment
Share on other sites

Ok I fixed this problem. I realized I was looking through the default camera and not the view of the player. Since the player was invisible, I didn't see him until I decided to attach a weapon and saw my guy move around. 

To fix: Drag the camera under entities (in the scene menu), onto fpsplayer. 

*Facepalm*

Link to comment
Share on other sites

TBH, this happened to me as well and I ended up copying and pasting the FPS player from the tutorial map into my new one.  That worked 100% for me.

Mike

MSI Dominator Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 980 GTX with 16gb vram / SSD drives

MSI Dominator Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 1060 GTX with 8gb vram / SSD drives

Alienware Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 1070 Ti with 16gb vram / SSD drives

My Patreon page: https://www.patreon.com/michaelfelkercomposer

My music for sale: https://www.tgcstore.net/category/513?format=all&perpage=30&textures=undefined&price=all&order=default&artists[]=87213

Custom synths and sounds - http://www.supersynths.com

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...