fisherhazzel Posted July 1, 2014 Share Posted July 1, 2014 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. 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! Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted July 1, 2014 Share Posted July 1, 2014 can you post a screenshot of the physics tab of the building? Quote Link to comment Share on other sites More sharing options...
fisherhazzel Posted July 1, 2014 Author Share Posted July 1, 2014 can you post a screenshot of the physics tab of the building? Currently it is like this: 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. Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted July 1, 2014 Share Posted July 1, 2014 Are you using the model or the prefab? The prefab links to a phy file while the model doesn't. *Edit. After doing some checking I noticed that the warehouse prebaf is no longer linking correctly to the phy file. This is a bug I think. I have attached the phy file for the warehouse. thezone_buildings_warehouse01.zip Quote Link to comment Share on other sites More sharing options...
fisherhazzel Posted July 2, 2014 Author Share Posted July 2, 2014 Thanks that worked, you could add this .phy files to the workshop content. So none else gets this problem. Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted July 2, 2014 Share Posted July 2, 2014 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. Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted July 2, 2014 Share Posted July 2, 2014 Bug report posted: http://www.leadwerks.com/werkspace/topic/10161-workshop-prefabs-loses-connection-to-phy-file/#entry75237 Quote Link to comment Share on other sites More sharing options...
fisherhazzel Posted July 2, 2014 Author Share Posted July 2, 2014 I checked the location and the .phy was there, so yeah must be a bug. Also thanks i didn't know where to find downloaded workshop content. Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted July 2, 2014 Share Posted July 2, 2014 Be aware that when you delete or alter the zip files in the appdata you will get trouble with keeping your files in sink with steam workshop. 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.