[R73] Physics ruins Project!

Bugs will be moved here once resolved.

Post » Sun Dec 25, 2011 11:57 am

My Pinball CAPX I recently compiled to give an example here, now is somehow ruined. I have not teh slightes idea why this happend.

This is the preview screen in FireFox:

B
42
S
19
G
12
Posts: 723
Reputation: 13,911

Post » Sun Dec 25, 2011 1:18 pm

In german, huh? That means the browser halted script execution for some reason, typically when the script keeps running indefinitely and blocking the browser. There may be some nasty unescapable loop or a huge loop.
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Sun Dec 25, 2011 3:53 pm

Thats why I included the CAPX so every can see for his self in his own language environment
B
42
S
19
G
12
Posts: 723
Reputation: 13,911

Post » Sun Dec 25, 2011 4:44 pm

something is wrong with the revolute settings, dont know what but the error is coming from that

no i dont know, maybe because its on the same object
vtrix2011-12-25 16:53:22
ImageImage
B
61
S
19
G
6
Posts: 809
Reputation: 9,028

Post » Sun Dec 25, 2011 4:51 pm

So C2 should issue a "Warning" if something like this happens....
B
42
S
19
G
12
Posts: 723
Reputation: 13,911

Post » Sun Dec 25, 2011 4:56 pm

it probably should, have also had some trouble testing the revolute thing, but i guess it was because i dont understand how it works enough
etc, what is connected to what and how and what are the limitations,

ImageImage
B
61
S
19
G
6
Posts: 809
Reputation: 9,028

Post » Sun Dec 25, 2011 5:03 pm

me too...I am just using trial and error to understand. Building a PinBall is a good learning task....

BTW: Are there plans to have C2 to diferentiate between different layers of physic? So that one could build "crossovers" and "underground" paths? like Bridges and tunnels?
B
42
S
19
G
12
Posts: 723
Reputation: 13,911

Post » Tue Dec 27, 2011 3:37 am

[QUOTE=Weishaupt]
BTW: Are there plans to have C2 to diferentiate between different layers of physic? So that one could build "crossovers" and "underground" paths? like Bridges and tunnels?[/QUOTE]

You can already do this using variables.

WARNING, pseudo code incoming:

-Ball is on the "lower level" -> set variable "ball-level" to 0
-If variable "ball-level" is 0 and ball collides with "upper level" -> Do not collide with "upper level"
-Ball touches "start of ramp" -> set variable "ball-level" to 1
-If variable "ball-level" is 1 and ball collides with "upper level" -> collide with "upper level"

More-or-less you would use something along those lines so that the ball will only interact with objects it's supposed to at the time. You would need to plan out your table nicely and figure out where and how you would set the variables for the ball, including if it rolls backwards (because it didn't have enough velocity). IT could take some tweaking to get it right but that would easily work.

~SolSoldjahBoy2011-12-27 03:38:48
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
45
S
17
G
37
Posts: 2,853
Reputation: 25,966

Post » Tue Dec 27, 2011 12:38 pm

Hey Sol...

I doubt, that this "workaround" will work for object with physic-behavior.... Weishaupt2011-12-27 12:39:01
B
42
S
19
G
12
Posts: 723
Reputation: 13,911


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests