Building a Collider Mesh in Blender for PyPRP?

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

Building a Collider Mesh in Blender for PyPRP?

Postby DreamBliss » Sat Aug 09, 2014 8:55 pm

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!
If the spark does not desire the tinder there is no flame.
User avatar
DreamBliss
 
Posts: 92
Joined: Mon Apr 29, 2013 2:28 am
Location: Unknown...

Re: Building a Collider Mesh in Blender for PyPRP?

Postby Whilyam » Sat Aug 09, 2014 10:36 pm

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
User avatar
Whilyam
 
Posts: 1023
Joined: Sat Sep 29, 2007 5:55 pm

Re: Building a Collider Mesh in Blender for PyPRP?

Postby DreamBliss » Sun Aug 10, 2014 1:26 am

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!
If the spark does not desire the tinder there is no flame.
User avatar
DreamBliss
 
Posts: 92
Joined: Mon Apr 29, 2013 2:28 am
Location: Unknown...

Re: Building a Collider Mesh in Blender for PyPRP?

Postby DreamBliss » Sat Aug 23, 2014 2:53 am

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!
If the spark does not desire the tinder there is no flame.
User avatar
DreamBliss
 
Posts: 92
Joined: Mon Apr 29, 2013 2:28 am
Location: Unknown...

Re: Building a Collider Mesh in Blender for PyPRP?

Postby Dulcamara » Sat Aug 23, 2014 6:38 am

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 4119 times

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

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


I hope this helps you
Dulcamara
 
Posts: 376
Joined: Fri Sep 03, 2010 11:06 am
Location: Alabaster

Re: Building a Collider Mesh in Blender for PyPRP?

Postby dendwaler » Sat Aug 23, 2014 11:28 am

@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
Those wonderfull Worlds are called " Ages" , because that is what it takes to build one.



Watch my latest Video Or even better..... watch the Cathedral's Complete Walkthrough made by Suleika!
User avatar
dendwaler
 
Posts: 936
Joined: Mon Jun 22, 2009 10:49 am
Location: Nederland

Re: Building a Collider Mesh in Blender for PyPRP?

Postby DreamBliss » Sun Aug 24, 2014 4:03 pm

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
If the spark does not desire the tinder there is no flame.
User avatar
DreamBliss
 
Posts: 92
Joined: Mon Apr 29, 2013 2:28 am
Location: Unknown...


Return to Building

Who is online

Users browsing this forum: No registered users and 0 guests