Hi,
Could anyone start me off with implementing ray casts? I have had a look at the manual and on various sites and forums, and while there is a little bit of information, it seems a bit too advanced or too far down the line for a beginner like me.
I hope ray casting is what I'm after anyway. I'm trying to project a beam from my sprite that will rotate with a users touch and the beam is meant to project outwards until it hits another body.
I have my sprite (called ballSprite) and its body, I can setup a revolution joint for the rotation bit, and I have my various other sprites and bodies. I just need to get the beam in-between!
I know it's rude to ask for help without any code or anything, so I apologise for that, but I just don't know where to start. I'd be very grateful if someone could point me in the right direction, so that I can attempt to write some code...
Thanks in advance...
Could anyone start me off with implementing ray casts? I have had a look at the manual and on various sites and forums, and while there is a little bit of information, it seems a bit too advanced or too far down the line for a beginner like me.
I hope ray casting is what I'm after anyway. I'm trying to project a beam from my sprite that will rotate with a users touch and the beam is meant to project outwards until it hits another body.
I have my sprite (called ballSprite) and its body, I can setup a revolution joint for the rotation bit, and I have my various other sprites and bodies. I just need to get the beam in-between!
I know it's rude to ask for help without any code or anything, so I apologise for that, but I just don't know where to start. I'd be very grateful if someone could point me in the right direction, so that I can attempt to write some code...
Thanks in advance...