|
|
| 27 Apr 2011 12:14 AM
|
I was able to create a working, fully-functional 'bullet' class, which is great because it means I can now move the player and bullets with simple vectors. The problem is that when you try to shoot, the bullets go through walls, even when they are supposed to be solid. Anyone know how I can fix this?
|
|
|
|
|
|
|
Report
Abuse
|
|
|
|
|
|
|
| 27 Apr 2011 12:18 AM
|
The bullets are supposed to be non-physical. I'm using BodyGyro and BodyPosition for the bullets.
|
|
|
|
|
|
|
Report
Abuse
|
|
|
|
| 27 Apr 2011 12:20 AM
|
Use a physical bullet then.
|
|
|
|
|
|
|
Report
Abuse
|
|
|
|
| 27 Apr 2011 12:21 AM
|
The physical bullet wouldn't work. Besides, I want it to look nice.
|
|
|
|
|
|
|
Report
Abuse
|
|
|
|
| 27 Apr 2011 12:23 AM
|
The best way would be to make a "Bulldet" (Bullet+Detector) then detect where it hits. The next time, just keep making a new one in the place of where it hit.
|
|
|
|
|
|
|
Report
Abuse
|
|
|
|
| 27 Apr 2011 12:24 AM
|
Ohhhh, I like that idea! Thank you, my good man.
|
|
|
|
|
|
|
Report
Abuse
|
|
|
|
|
|
|
| 27 Apr 2011 12:26 AM
|
I'm going to use this idea on an RPG I'm currently working on. This is going to help so much.
|
|
|
|
|
|
|
Report
Abuse
|
|