Noob axle question

Noob axle question

Portrait de vandelayyyy

hi y'all..

Is there a demo or description somewhere that describes how to create a simple axle which passes through the middle of, say, a wheel, yet is fixed. The hinge examples show pivot points on the exterior of the rigid bodies. It would be Nice if a solo body could be attached to the axle.. just spinning in space. I've probably missed the example :>(.

-------------
Cry havok, and let slip the dogs of war..
G. Marx

5 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.
Portrait de johnb003

The constraints are not physical. You can place the hinge type constraint anywhere in the rigid body, including the middle of it.

If you're constraining multiple rigid bodies together though like often to some wall, the collisions between the door and the wall would be considered unless you explicitly filtered them so they didn't. This is an example of why frequently the constraints are on the exterior of objects.

If you're trying to set up a vehicle you should look into the havok vehicle stuff. I haven't used it myself, but I imagine they have some optimizations for the special kinds of constraints you'd use in a car.

Good luck.

`John

Portrait de vandelayyyy

Thanks for your prompt reply, John..

I realize they aren't physical. It seems to stand to reason that if i just want a rigid body with an axle, an extra body would not be necessary to define the constraint. My current version does use a fixed body (collisions turned off.. properly i think) penetrating the moving body with a hinge. I'm just starting out with Havok and it seemed a bit awkward so feedback from you veterans is appreciated!

BTW there is a wheel constraint used by vehicles, but it has an extra degree of freedom and i'm trying for a minimal solution. I think some devs are doing Neat And Complex things with atoms, but the docs/demos that i've seen so far seem a bit short on this. It would be nice if Havok opened up some of the simpler, non-sensitive topics from their support areas.

Portrait de havokdaniel

Hey vandelayyyy,

I think it might be a world-constrained hinge constraint that you're looking for. The documentation has a section with some information on that (Havok Content Tools->Common Concepts->Physics: Constraint Concepts) that might be useful to you. Let me know if that's not what you're looking for.

Daniel

Portrait de vandelayyyy

thanks Daniel.. that looks helpful. I didn't get into the content sections because i'm not currently using XSI as a physics authoring tool.

Connectez-vous pour laisser un commentaire.