I was browsing the Box2D examples and I noticed that in the Ray-Cast Example nothing happens... is there a reason?
Box2d Examples
(7 posts) (6 voices)-
Posted 1 year ago #
-
yes, some box2d samples, like the RayCast sample, contain OpenGL commands (not OpenGL ES commands). So, those commands were commented, otherwise it those samples won't compile. The correct fix is to replace the OpenGL commands with Box2d draw commands.
Posted 1 year ago # -
..thats an awesome demo too if you have seen it in the windows testbed.exe
Posted 1 year ago # -
@riq
and how we can do that? I trying to do some stuff with drawSegment, but i can't see this work in anyway! some adive?!
Posted 10 months ago # -
Hi, has anyone implemented raycast! I want to know the basics of raycast... If anyone has the code, please post it here. It'll be more useful for the users like me. Thanks!
Posted 7 months ago # -
Link to basic idea : http://www.academictutorials.com/graphics/graphics-raycasting.asp
Posted 7 months ago # -
@steg90, thanks for the quick reply... I've gone through the link!
It helped me to understand the concept of raycast. Even though still i have some uncleared doubts! Please help me out to get it.
How to Initialize it?
Callback for raycast?
RayCast is available for world and the fixtures! Which one i have to use?
If you have any sample project or link please post it!
Thanks
:D
Posted 7 months ago #
Reply
You must log in to post.