nuuup
honorary potato (sprinkled with cheese annd butter flour)
Posts: 187
|
Post by nuuup on Mar 29, 2016 22:50:31 GMT
Well, I want to know how can one destroy a bullet once it collides a certain object. I already made a shooting script. I just wanted to know this. Thanks.
|
|
|
Post by orange08 on Mar 30, 2016 23:30:05 GMT
most of us use game maker (not unity) so I'm not sure if anyone will be able to help
|
|
nuuup
honorary potato (sprinkled with cheese annd butter flour)
Posts: 187
|
Post by nuuup on Mar 31, 2016 10:22:56 GMT
Yeah, but if there's someone that knows Unity around these parts...
|
|
tom
honorary potato (sprinkled with cheese annd butter flour)
Posts: 111
|
Post by tom on Apr 1, 2016 21:58:05 GMT
you should've been able to google this...
put this on your bullet obj (in a c# script)
void OnCollisionEnter ( Collision hit ) { Destroy(gameObject); }
|
|
nuuup
honorary potato (sprinkled with cheese annd butter flour)
Posts: 187
|
Post by nuuup on Apr 1, 2016 22:55:42 GMT
2 lazy 4 googlin i use encyclopedias thanks tom for being humble
|
|
|
Post by cardigenette of corn spoon not on Apr 17, 2016 6:24:52 GMT
yesss now i can make hernhand raygun edition
|
|
nuuup
honorary potato (sprinkled with cheese annd butter flour)
Posts: 187
|
Post by nuuup on Apr 17, 2016 12:29:12 GMT
yes the hernhands pew pew
|
|