Hi,everybody, Is that possible I scale those objects in CS world? It seems HardTransform() can work, but I don't know how to do it. Are there any difference between thing mesh and genmesh? From CS manual, I found the following desription. So can I scale the objects dynamically with collision detection still to be ok?
Thanks a lot! Best, Andy /CS/docs/html/manual/cs_4.14.1.html#4.14.1 Limitation of OPCODE The current OPCODE collision detection implementation has one important limitation. It assumes that the transform from object to world space will not change the size of the object; i.e. you cannot scale the object using the object to world transformation (which is kept in the `iMovable') and expect collision detection to be ok. The only way around this limitation is to use HardTransform() to transform the object space vertices itself. But this can of course not be used dynamically as you would have to recalculate the collider every time the object changes. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Crystal-main mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/crystal-main Unsubscribe: mailto:[EMAIL PROTECTED]
