Jump to content

FPSPlayer collides with shadows


Go to solution Solved by Josh,

Recommended Posts

Posted

Hi,

I'm new here. First of all, thank you for your work, I'm glad to see new game engines on the market.

I just downloaded Leadwerks. One thing I noticed in my first test:

1. Create a terrain
2. Create a Box
3. Create a Point Light
4. Create a camera with FPSPlayer component

The result is that the player collides with the boxes shadow. I am able to push the box from all sides where there is no shadow, but on the shadow sides the box is kinetic/immovable.

Here is a short video to visualize what I mean:

https://streamable.com/1wdmub

The camera and FPSPlayer are default.

Here are the properties of the box:

image.thumb.png.498d32ba373294a4480909b41579cd4d.png

 

Posted
3 hours ago, jussi said:

First of all, thank you for your work, I'm glad to see new game engines on the market.

Nice to hear! :D

I will check this out and see if I can produce the same error. I literatlly just uploaded a fix on the beta branch for something that might be related to this.

 

  • Like 1

Let's build cool stuff and have fun. :)

Posted

@jussi I am not sure how to make this error occur. Is it possible to upload the map you created that caused this? I just need the .map file. You can compress it as a ZIP and add it to your post as an attachment.

Let's build cool stuff and have fun. :)

Posted

Yes, of course! I did think of uploading the map data in the initial post, but was worried about breaching some licenses due to the engine's proprietary license. I just tried to reproduce the issue again: https://streamable.com/7mwjgl

I'm pretty sure this is just a user-error. :)

Map data attached to this message,

thank you!

start.zip

  • Thanks 1
  • Solution
Posted

The problem is you placed a camera in the scene and added the FPS player script to this, which internally creates another camera. Use a pivot instead and it will work correctly.

Let's build cool stuff and have fun. :)

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