Jump to content

Pi-Body v0.1


Rick
 Share

Recommended Posts

File Name: Pi-Body v0.1

File Submitter: Rick

File Submitted: 16 Jan 2010

File Category: Lua Scripts

 

This is much like Pi-Cube. It allows you to create a dynamically sized physics body. When in editor mode a white cube mesh is shown, but when in game mode nothing is shown.

 

TODO:

Working on getting collision working

 

 

You might ask what good this is if no collision works. When I combine this, the Pi-Cube, Pi-FixedJoint, Pi-Pivot, & Pi-MoveTo I am able to get a cube that moves from pivot to pivot that has physics. I joint a Pi-Body to a Pi-Cube, then Pi-MoveTo calls EntityMove() on the Pi-Body to move from pivot to pivot while Pi-Cube still retains physics collision.

 

Click here to download this file

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