Jump to content

Still needing help with adding water to my game please.


metaldc4life
 Share

Recommended Posts

Hi,

I'm really needing some kind of water prefab but when I use this one it doesn't go to the player it goes to spectator:

 

http://www.leadwerks.com/werkspace/files/file/468-water-prefab-for-leadwerks-31-steam-ed/

 

I have almost got it to work with the player but the axis on the mouse were all messed up can some please help me..

 

Thanks

Link to comment
Share on other sites

Maybe this will help (from DanceTweety)

I found out how to us it in player as Camera.

 

uncoupled camera from FPSPlayer.lua with to simple lines I see in a tutorial by Rick

 

"Script.Camera = nil --entity" in top script

 

and at create camera replace "self.Camera = Camera:Create()" bye "self.camera = self.Camera''

 

So I remove spectator object and place camera of prefab in the player.

 

And now it works

HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB

Link to comment
Share on other sites

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.

 Share

×
×
  • Create New...