Jump to content

csg collision using move


Rick
 Share

Recommended Posts

I have a csg object and I have a script attached where in the UpdateWorld() it just calls self.entity:Move() but it doesn't register collisions. I want to move this csg "forward" without physics/mass but still have it register a collision.

 

I suppose I could use http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/entity/entityphysicssetposition-r190 but how would I always make it more "forward"? I like the Move() function because I can just pass a value in the z axis variable and it'll move forward. Thinking a PhysicsMove() would be a nice thing to have.

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