Havok

[0x2F7B7CD9] Assert: Child shape key is too big.

I'm keep geting this assert randomly during the hkpWorld->castRay() call. This happens in a rigidbody containing a hkpStaticCompoundShape. The shape has 2 child shapes: one hkpMoppBvTreeShape (a little house) and a hkpTriSampledHeightFieldBvTreeShape wrapped around a hkpTriSampledHeightFieldCollection (piece of terrain  with17x17 hieghts).
The assert only fires when the ray hits the ground. But not always, it never happens when the ray meets horizontal part of the terrain. If i make the heightmap totally flat, no problem. But flat terrain is quite boring. :)

Reduce amount of library includes?

Currently in my project i have to include many libraries for my program to compile. Is it possible to remove some of these or disable their features?

I'm not using vehicles but i need to include it.

hkBase.lib
hkCompat.lib
hkGeometryUtilities.lib
hkInternal.lib
hkSerialize.lib
hkVisualize.lib
hkaInternal.lib
hkaAnimation.lib
hkaPhysics2012Bridge.lib
hkcdInternal.lib
hkpConstraint.lib
hkpConstraintSolver.lib
hkpCollide.lib
hkpDynamics.lib
hkpInternal.lib
hkpUtilities.lib
hkpVehicle.lib
hkcdCollide.lib
hkSceneData.lib
hkImageUtilities.lib

How to reset a vehicle?

Hi

I want reset a vehicle and clear all forces on it and all of it's parts but don't want to reorient it ! I know about hkpReorientAction but in this situation i don't want to use hkpReorientAction action because i don't want change the car chassis rotation or position.

How can i do that!?

How to set mass per shape not for whole of rigid body?

Hi

I have a rigid body that is using shape collection and contain list of shapes, 

How can i set mass per shape not once for whole of the rigid body?

I know about center of mass(COM) , but in this situation i'm searching about any way to set mass for each shape of the rigid body.

 

Thanks for any help.

H.Ahmadi

No Havok Documentation

Am I missing something here or is there absolutely no documentation that comes with the havok sdk.  The docs folder is empty except for a .txt file and a another folder which contains a python script of some sort.  I would like to use havok in some future projects, and while looking at the demo code will certainly be helpful, I feel as if I won't get very far without some documentation to look over.  Thanks for the help!

Mix of RigidBody and Shape collision filter don't work.

Hi

I have some simple RigidBody objects. I set collision filter of them with following code:

rigid1->setCollisionFilterInfo(hkpGroupFilter::calcFilterInfo(GROUP_A));

rigid2->setCollisionFilterInfo(hkpGroupFilter::calcFilterInfo(GROUP_B));

....

And i have just one complex RigidBody that created using a hkpListShape (contain 5 hkpConvexShapes). I'm using  following code for setting filtering for this special object, because each part have different collision group:

How can the Havok wheels apply force to other dynamics?

Hi

The Havok wheels use ray casting for collision detection.That is very good, and mean the wheel just detect collision and keep out of it.

But I need if a vehicle wheel moved on a dynamic object or vice versa (for example a box move on wheel or a wheel move on a box), The wheel don't run out and just push force to the vehicle body! I want the wheel also transfer some forces to the box and shoot the box. Because just forcing the vehicle chassis body make driving impossible over a road with too many debrises and even the vehicle totally turn by 90 degree ! 

Havok abonnieren