Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
How to make FPS Player crouch? Actually i need to change "Collide when moved" via script or action, but there is no action to change this. |
||||
|
You can create a crouch animation for your player... And then trigger it by pressing a specific key... |
||||
|
I know this, but i need real crouch in First Person to walk in holes in the wall for example.. |
||||
|
Hope there exist a way to edit collison box size..... But to do the samething alternatively... You can do it by using a cube box as child node and assign collision behavior to them.. For example create 2 cube mesh.. one for upper body and one for lower body of the fps player... And assign them as child node to tha player.. and adjust there position accordingly... And add move on collide behavior to them... Now while the crouching action has to be executed.. delete or hide the upper box... So that collision will occur with lower body only.... And while releasing from crouch.. clone or show the upper box... Again.. so that the collision can occur with the upper body again.... Hope it will work for you... And hope you understand what am trying to say... Note:- Don't forget to use transparent material... Black alpha texture for the cube mesh boxes... |
||||
|
Thank you just_in_case It works perfectly on my project.. And Btw, can i join you developing group please..? Im still 13 years old and Im Indonesian so sorry for my bad english |
|