|
Post by WhyNot on Oct 30, 2016 6:22:25 GMT
|
|
|
Post by Power Supersport on Oct 30, 2016 9:29:08 GMT
Can you send me your project, so I can take a detailed look?
|
|
|
Post by WhyNot on Oct 30, 2016 9:58:16 GMT
OK, I don't have the project right now but can you help me with how to create some skinmesh object Imposters. I didn't get anything from the demo project
|
|
|
Post by TinSoldier on Oct 30, 2016 18:30:27 GMT
2 problems
Your script is making new imposters in every engine cycle until something goes crazy or 3drad crash's The proper way to ,ake imposters is to put the impostercreate inside the if(iInitializing()){} section so they only get created once.
secondly, you have to also destroy all imposters when the project stops running / exits. to do that you put the imposterdestroy(OBJ_X); for each object that has imposters in the if(iDeinitializing()){} script section.
the next thing is if you're making rigidbody imposter, they will automatically collide with each other unless you use imposterhide(OBJ_X,int) for each imposter and you may need to use iObjectImposterSet(OBJ_X,int,Quaternion,Vector3) for each object to move them apart so they don't collide with each other right away when the project starts up..
|
|
|
Post by WhyNot on Oct 31, 2016 3:31:35 GMT
|
|