Page 1 of 1

Building a Collider Mesh in Blender for PyPRP?

PostPosted: Sat Aug 09, 2014 8:55 pm
by DreamBliss
So I understand the Logic/Box/Triangle Mesh collision. But that is not good for hollow objects like stairs and boxes.

I searched around and found allusion to something called collider meshes. How are these made in Blender for PyPRP? What kinds of colliders can be made, and how are they made?

Appreciate your help!

Re: Building a Collider Mesh in Blender for PyPRP?

PostPosted: Sat Aug 09, 2014 10:36 pm
by Whilyam
I believe the tutorial for this is part of the "building your first Age" tutorial.

Essentially, make the mesh you want to be your collider. Set it to triangle mesh (or other types of collision) and add a string property, set Name to "type", and set the last field to collider.
This object should have no material or UVtex or color or anything set to it.
In the Object panel, under Draw, Drawtype. Set it to Wire.

And you're done. It's great to use when you have a large and complex object but only part of the object needs to have collision. Separate that part of the mesh and set this up as your collider. Can help you save Age file size :D

Re: Building a Collider Mesh in Blender for PyPRP?

PostPosted: Sun Aug 10, 2014 1:26 am
by DreamBliss
Thread saved.

Struggled with "Add Text Property." Figured it out with a Google search, in Logic panel.

I now have collision and lighting. I can do the 3rd video.

4th video, if I do it, will be texturing. Anything I need to know about using MOUL or Uru textures for the purposes of texturing a small age for a tutorial? Are there other textures I should use? What about a more in-depth texturing tutorial for Blender and PyPRP? I have the one where a terrain is textured and will refer to that.

Thank you for your help!

Re: Building a Collider Mesh in Blender for PyPRP?

PostPosted: Sat Aug 23, 2014 2:53 am
by DreamBliss
OK, I have a few questions...

1. What do you do so that PyPRP will export your age with the collision boxes? It complains about these not having any materials, but if you apply materials, you get flickering because you have two textured objects on top of each other. So I am obviously missing something here. What is it?

2. Lets say I make a really complex age. I make it all one mesh. What is stopping me from just applying a Triangle Mesh to the whole thing? Why would I even use a collision box?

3. When should I use a collision box, and what is the best practice here?

Thank you for your help!

Re: Building a Collider Mesh in Blender for PyPRP?

PostPosted: Sat Aug 23, 2014 6:38 am
by Dulcamara
Hello DreamBliss

if you get this error message, you have probably made ​​a mistake in the construction. Here are some pictures for a better understanding.

Collider.jpg
Collider.jpg (104.67 KiB) Viewed 4652 times

Collider1.jpg
Collider1.jpg (110.02 KiB) Viewed 4652 times

Collider2.jpg
Collider2.jpg (120.16 KiB) Viewed 4652 times


I hope this helps you

Re: Building a Collider Mesh in Blender for PyPRP?

PostPosted: Sat Aug 23, 2014 11:28 am
by dendwaler
@DreamBliss

Here i have spend some words on texturing for beginners.
Stil have to start to some more advanced examples.
http://forum.guildofwriters.org/viewtopic.php?f=7&t=6089

Re: Building a Collider Mesh in Blender for PyPRP?

PostPosted: Sun Aug 24, 2014 4:03 pm
by DreamBliss
Thank you for your help!

I feel like a complete idiot (even though some pieces are still missing.)

I was using the word collision instead of collider.

Testing that now.

Mod Note: Removed redundant font size