one stop for all game coders..
| Physics error codes |
|
|
| Written by CR Team | |||
| Saturday, 01 August 2009 07:35 | |||
|
Director physics engine from version 11 onwards throw up unique number each reporting a different kind/type of error. Here is a list of commonly thrown error codes ! -21 : Mesh deform is not added for the Model. Each 3d model that needs to be converted to a rigid body needs to applied with #meshdeform modifier.
- 26: This can usually happen if you have applied LOD modifier and the number of faces/vertices are chopped off by the same. One quick fix to try out here would be to disable LOD modifier, create a proxy template for the same mesh, save and use it ! - 1: LOD can be the reason for the same, see -26. Another common reason for getting -1 error might be because your physics world is not initialized or not hooked up to the 3d world properly, - 4: This is thrown when you have passed a parameter wrongly. Say the method expects a string name and you have passed a object or integer.
|