Jump to content

attach script messes up physics on csg?


Recommended Posts

I have a small csg floor (set collision to scene). I create a character controller in code and it sits on this CSG cube and this works great. I made the following Lua script:

 

 

Script.type1 = ""--string "Type"

 

function Script:Start()

self.entity:SetKeyValue("type1", self.type1)

end

 

 

When I attach this script to the csg floor model the character controller passes right through the floor. If I remove it, the character controller sits on top like I would expect. Very odd.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...