You can change the Debug layout shortcut. Just not to F6 for some reason.
I'd like to bump this as I'm seeing the same thing.. I'm not applying massive forces which could cause the physics to become unstable, and yet my objects that are connected via revolute joints are becoming pulled/pushed apart by colliding with other physics objects.
Sticky progress bar..
I tough I have tried to do it (removing 0) and it didn't work , it works fine just one small question how do you assign option: if object overlaps animation0 do this but then it overlaps different animation outcome is different. I can't see it in create object menu, new to this method
pseudocode..
IF Object is overlapping OtherObject AND OtherObject.Animation.Frame = x THEN <do something>
ELSE <do something else>
[attachment=0:1l9z9m6p][/attachment:1l9z9m6p]
Yessss.. and viruses..
Or pose them a paradoxical question... smoke issues forth.. etc.
Develop games in your browser. Powerful, performant & highly capable.
There's nothing really to fix, rounding error is inherent. You have to work around the limitations.
Edit: I haven't worked with much numerical stuff in C2 so I'm not sure all the available facilities.
Won't it be easier if you just use action:sort array and then action:reverse array. This is quite straight forward if the initiative is at X-index=0.
Won't work with 2d array (easily)..
edit: but I will stand corrected.
how strange... all this time, I thought .1 + .1 + .1 was .3 math is even harder than I thought! (You're right, I'm amused...)
how strange...
all this time, I thought .1 + .1 + .1 was .3
math is even harder than I thought!
(You're right, I'm amused...)
The joys of floating point numbers. A good wakeup call for all of us though
Check in the debugger. Your value is actually 0.9999999999999999 but being displayed as 1 in the top textbox.
Change it to Text: Set text to str(variable1) for much amusement
Edit: So looks like the 'auto int-to-string' conversion is rounding up..
You're right it might not be suitable in your case. Will have to think about it when I get a sec.
Member since 30 May, 2014