GRAGH, I’m dying here, someone please help me…
Basically, I need to find a way how to incorporate a combination of
a) Collision solids imported from Maya
b) Pushers
c) The ability to land on top of objects
d) Triggers
to create LEVELS in Maya and import them into Panda3D without having to manually create a whole bunch of collisionSolids in Panda3D following the maya model…
The issue is…
a) How do I set tags to collisionSolids I create in Maya? Like, where am I supposed to add them in the egg file?
b) Theres this weird issue I have where if I jump AGAINST an object, to its top, my character will “spasm” and jump sidewards. I’m currently using a combination of CollisionHandlerPusher (for the sides) and a regular collision plane on the top + collisionHandlerEvent between a ray that I cast from the character and the collisionPlane, to direct my character to move downwards until it has reached the object below it. Can anyone tell me whether the use of 2 different methods is the reason why my character spasms?
c) Around the same as B, although I’ve been also wondering. Would it be better if i used CollisionHandlerFloor instead? To replace the top of the object. And if I do that, how do I incorporate that with making the collision solids in Maya? 'cuz I think I need different type of collisionHandler for each situation, such as one for the top of the object and one for the sides…
d) How do I work with triggers? That option that you have when you are choosing the egg object type in maya using the mel script, how does that work?
And it would be AWESOMELY helpful if someone could tell me whether how I am doing things is wrong, and whether there is a much better way of incorporating a system where I can:
a) “Slide” against an object when I move against them (a.k.a Pushers)
b) Land on top of an object when I jump onto them, or land on floors, and fall off them
c) Make it such that if i collide with certain objects, different events will happen (e.g if i hit an enemy, my health will decrease, but if i hit a switch, a door will open, etc)
Thank you for taking your time to read this, give me advice if you can!