deltaluca / nape

Haxe/AS3 Physics Engine
http://napephys.com
Other
542 stars 77 forks source link

[QUESTION] using classes and still having detection? #95

Closed lewislepton closed 9 years ago

lewislepton commented 9 years ago

this is not so much a issue, but rather a question.

but what i am doing is using NAPE for agame, but am obviously splitting things up class wise. but i am having a hard time getting things such as collision to work. in 1 class it all works fine, but once split it has a hard time. is there a good path to go down for this to work. the same is also with gravity, but im just trying actual gravity classes then importing them in each character class.

thanks if you can help ;)