Jump to content

Video tutorial #5. Creating bodies with lua.


AggrorJorn
 Share

Recommended Posts

http://leadwerks.com/werkspace/index.php?/page/resources?record=28

 

This video tutorial explains how to create bodies in your Lua program. The tutorial will explain the following:

 

- Physics inside the editor.

- Creating bodies.

- Collisions and Collision types.

- For loop.

- Arrays.

- Setting gravity.

 

Youtube upload has to wait since I need to cut the video in three parts first.

 

Have fun!!:D

Link to comment
Share on other sites

Can't view this from where I am, but did you figure out how to get a collision callback for bodies that were created inside the editor?

I am looking into this. I deffinetly need this for making triggers/events and I am deffinetly not going to use entityDistance for this. It makes it cheap and unprofessional.

According to Josh, the collision callback should be working though. I will let you know if I find anything on that. However the tutorial for triggers and events will really need this to work.

 

@Flexman. Yes joints and stuff will cover an entire tutorial, but since I am struggling with that myself I can't really make anything.

 

Thanks for all the kind comments! :D

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