Jump to content

Recommended Posts

Posted

hi guys me and my buddy are working on a game which will be a survival horror and we have been trying to figure out how to attach a model of a flashlight to our fps controller so the arms/hands and flashlight are always shown and follow the camera

Posted

Do you have a character animated with bones ?

Attach can be in 2 ways :

- in the editor drag object as child of your controller in scene tab

- by code : some script attached to object :

Call functions like : FinChild() and SetParent()

Stop toying and make games

Posted

I would say just look at the flashlight that's already included. I dont think you can really light up the hands without them casting shadows though, which is a huge problem. One thing you can always do though is make another spot light entity just a few units behind the other one.

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.

×
×
  • Create New...