How do I make bullets not pass through solids at high speeds

Get help using Construct 2

Post » Thu Jul 06, 2017 3:38 pm

Hi there, I'm looking to make my player jump forward using the Bullet Behavior (he goes at 1000 speed for 0.6 seconds), but basically I want him to be able to pass through certain thin walls, and not be able to pass through other thin walls.

Obviously checking bounce on solids means he cannot get through either of the walls, but even making it so that the bullet stops, or the player stops, when colliding with one wall, he keeps going.

I read this is because the game checks once per tick, and if a bullet is too fast it can pass through thin objects. Is there a way I can do this without making one of my walls super thick?

Thanks!
B
12
S
2
G
1
Posts: 47
Reputation: 781

Post » Thu Jul 06, 2017 4:59 pm

Use C3, with its improved steps.

Or, code you own steps in C2 :
https://www.dropbox.com/s/odkpatpbpu3mi ... .capx?dl=0

That bullet is going so fast that you barely see it.
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Thu Jul 06, 2017 5:14 pm

99Instances2Go wrote:Use C3, with its improved steps.

Or, code you own steps in C2 :
https://www.dropbox.com/s/odkpatpbpu3mi ... .capx?dl=0

That bullet is going so fast that you barely see it.


I've been looking over that project, I'm pretty new and wow that looks complicated to me, I'm trying to replicate it but I don't really understand what it's doing.
B
12
S
2
G
1
Posts: 47
Reputation: 781


Return to How do I....?

Who is online

Users browsing this forum: 25games, jatin1726, kiki4construct and 27 guests