  | | | collision problem | collision problem 2003-11-18 - By Pavel Sverdlov
Back Hi, I have the following problem: the avatar object together with a camera is moving inside the virtual room. In order to stay inside I have attached to avatar and the walls collision modifier.
myworld.model("avatar").addmodifier(#collision) myworld.model("avatar").collision.enabled = true myworld.model("avatar").collision.resolve = true
myworld.model("brickwall").addmodifier(#collision) myworld.model("brickwall").collision.enabled = true myworld.model("brickwall").collision.resolve = true
Two or three times it works but after that the avatar glues to the wall. In HELP to Director the write that if collision modifier is enabled the object must freeze. Why this don't happens immediately but after some time? How shall I modify the code to avoid the stops or I shell use an other method? thanks, Pavel
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ___
Gesendet von Yahoo! Mail - http://mail.yahoo.de Logos und Klingelt�ne f�rs Handy bei http://sms.yahoo.de __ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|
 |