Skip to content

physics #25

Description

@yonimal676

Originally posted by yonimal676 October 11, 2022
image

great visualizer:
https://ophysics.com/k8.html

Note: it doesn't matter what the weight of the object is, it will fall the same

image
image

HOLY SHIT IT WORKS

I figured how to run the time for the ball in GameView -> sleep() and then the formulas worked.

This is a revisit: even though it worked, it looked weird:

image

This is how it looks now:
image

This was done with the help of chatGPT, i'm speechless.

Now that the physics calculations are refined, I can continue in Collision Physics #26 -> Changing Direction #34

FEATURE:

public void physicsUpdateNoCol(float time)

most of the times, the time parameter is going to be ball.time, how ever I will add this parameter in case i want to calculate the next X/Y.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions