Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

collision and prefab not working


YouGroove

Recommended Posts

You are right. It appears the brush shape is not being copied with copied brushes. A temporary workaround is to rebuild it yourself:

function Script:fireBall()	 

	local fireball = Prefab:Load(self.prefabFireBall,Map.LoadScripts)
	fireball:BuildShape()

Link to post
  • 9 months later...

Same problem here so I guess this is not fixed yet?

I have a CSG brush as prefab and when I load it, there is no collision.

BuildShape() worked for me but I can't find nothing about it in the documentation pages.

 

Is BuildShape() resource intensive?

Link to post
Guest
This topic is now closed to further replies.
Facebook Twitter Youtube Github Steam
×
×
  • Create New...