Jump to content
wdna

Why I cannot see my own model with FPS controller attached?

Recommended Posts

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...

Share this post


Link to post

Yup, missed it i guess.

 

local material = Material:Create()
material:SetBlendMode(5)--Blend.Invisible
self.entity:SetMaterial(material)
material:Release()
...

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...