drumwrist0123 Posted February 8, 2014 Share Posted February 8, 2014 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 Quote Link to comment Share on other sites More sharing options...
YouGroove Posted February 8, 2014 Share Posted February 8, 2014 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() Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Shirk Posted February 8, 2014 Share Posted February 8, 2014 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. Quote Link to comment Share on other sites More sharing options...
Rick Posted February 8, 2014 Share Posted February 8, 2014 @Shirk you can turn shadows off for the hands model. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.