Discuss Scratch
- Discussion Forums
- » Suggestions
- » Better physics and collision detection needed
- kingare1
- Scratcher
60 posts
Better physics and collision detection needed
repeat (10)
Put variable block here
end
There needs to be better collision detection (color is touching color and if touching color) because sometimes it doesn't work for me.
There also needs better physics of the variables to make something look as if it was swinging around the bottom of an object.
turn counterclockwise (put number) for infinity
That works but…
tu
turn clockwise (put number) until touching color (put color here)
needs to have better collisions
[/i]
Thank you to those who replied and quoted to this topic.
This signature is unknown! Come back later.
- gems89
- Scratcher
1000+ posts
Better physics and collision detection needed
Workaround:
when green flag clicked
forever
turn ccw (...) degrees
end
when green flag clicked
forever
if <touching color [#ADD8E6] ?> then
end
if <not <touching color [#ADD8E6] ?>> then
turn ccw () degrees
end
end
Last edited by gems89 (March 29, 2017 23:57:58)
- jromagnoli
- Scratcher
1000+ posts
Better physics and collision detection needed
What would you define as “good collision”?
- kingare1
- Scratcher
60 posts
Better physics and collision detection needed
Workaround:Thanks! May try in the future. :)when green flag clicked
forever
turn ccw (...) degrees
endwhen green flag clicked
forever
if <touching color [#ADD8E6] ?> then
end
if <not <touching color [#ADD8E6] ?>> then
turn ccw () degrees
end
end
Rating: 9 out of 10
This signature is unknown! Come back later.
- kingare1
- Scratcher
60 posts
Better physics and collision detection needed
The ball isn't colliding with the color correctly. That's what I mean. What would you define as “good collision”?
Rating: No Rating
This signature is unknown! Come back later.
- miniepicness
- Scratcher
1000+ posts
Better physics and collision detection needed
Rating: ★★★★☆The ball isn't colliding with the color correctly. That's what I mean. What would you define as “good collision”?
Rating: No Rating
Please stop posting ratings, it can make people feel bad if they get a low one.
Last edited by miniepicness (March 29, 2017 21:39:22)
—————————–
-Click here to go to my profile —-Invited to scratch by AmazingProgrammer123
-Some Old Games: Racing Cats,Hungry Cat, Trapped, Mini-nation, ᴍAdvεnturᴇ﹗ and more!
- My“Any-Game”studio- All of My Projects/Games -My first project -my 200th project - handimation old shop:ACM-PICSHOP
click here for all my posts search the forums my first post :) my first thread/topic | click here
this signature is old⁽¹⁾
uV3b51yWZStHBjA8Lw7k
- kingare1
- Scratcher
60 posts
Better physics and collision detection needed
I don't usually give bad ones, but i'll stop.Rating: ★★★★☆The ball isn't colliding with the color correctly. That's what I mean. What would you define as “good collision”?
Rating: No Rating
Please stop posting ratings, it can make people feel bad if they get a low one.
This signature is unknown! Come back later.
- Discussion Forums
- » Suggestions
- » Better physics and collision detection needed