wdna Posted January 11, 2014 Share Posted January 11, 2014 I'm totally new to Leadwerks, I currently play with the Indie edition for windows until Linux get released. I implemented my own FPS Controller using the default script on a cylinder object. Now I wonder what makes the camera not to render the object it attached to? I did not find anything in the FPS script nor the weapon script. I'm trying to convert the FPS controller to 3rd person one... Quote Link to comment Share on other sites More sharing options...
nate066 Posted January 11, 2014 Share Posted January 11, 2014 The fps script creates an invisible material then applys it to the player Quote Link to comment Share on other sites More sharing options...
wdna Posted January 11, 2014 Author Share Posted January 11, 2014 Yup, missed it i guess. local material = Material:Create() material:SetBlendMode(5)--Blend.Invisible self.entity:SetMaterial(material) material:Release() ... 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.