Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Colision Detection Problem
Old
pyro-guitarx-715
Guest
 
Status:
Posts: n/a
Post Colision Detection Problem - 05-31-2008, 07:07 PM

im having a problem with some code im writing

it shoots a projectile at a sphere, and checks to see if the projectile is within the target sphere if it is, the sphere should disappear

however, i have managed to get the projectile to pass completely through the sphere and the sphere does not disappear

does anyone know how i could fix this problem
   
Reply With Quote
Old
DickBaldwin
Guest
 
Status:
Posts: n/a
Default 05-31-2008, 07:19 PM

Quote:
Originally Posted by pyro-guitarx-715 View Post
im having a problem with some code im writing

it shoots a projectile at a sphere, and checks to see if the projectile is within the target sphere if it is, the sphere should disappear

however, i have managed to get the projectile to pass completely through the sphere and the sphere does not disappear

does anyone know how i could fix this problem
Go to Google and search for the following:

collision site:www.alice.org

Dick Baldwin
Free Alice tutorials: http://www.dickbaldwin.com/tocalice.htm
Free Scratch tutorials: http://www.dickbaldwin.com/tocHomeSchool.htm
Free Java/C#, etc. tutorials: http://www.dickbaldwin.com/toc.htm
   
Reply With Quote
Reply

Tags
colision, detection, shooting

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.