Jump to content

Collisions in lua


fisherhazzel
 Share

Recommended Posts

Hello i recently bought leadwerks on steam to create a game.

At the moment i am doing random things in leadwerks to see how everything works.

At this point i am trying to get collisions right. I downloaded some content from the steam workshop including this warehouse.

AM8JHUM.jpg

How can i get the collisions right? When the player walks against the wall he stops when he walks up the stairs the Y slowly increases. I googled around and found some c++ scripts but i want to create this in lua. I recently started learning lua, so i am not an expert. I hope someone can help me with this thanks!

Link to comment
Share on other sites

can you post a screenshot of the physics tab of the building?

Currently it is like this:

U9eOTNz.png

I tried all kinds of thing turning swept on and off, setting shape to cube but then you can't enter the building.

I couldn't find a shape file with the workshop content.

Link to comment
Share on other sites

It has always been there. That is why I said that the linking to this phy file is no longer linked by the prefab. This does not look like intended behavior, so it might be a possible bug.

 

If you go to your local appdata, you can view the entire file set that you have downloaded.

post-45-0-40211900-1404319933_thumb.jpg

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