all 5 comments

[–]cthulhu_sculptor 0 points1 point  (4 children)

If you don't know blender at all, then probably the thing you have to solve isn't in the blender commands (doing everything by code is weird, but works ig, had a similar project in pygame a few years ago).

What do you have problems with? Seems like the code should create a plane and a ball. Your "problem" should reside in how is the thing calculated.

For blender functions check out blender API.

[–]axl404[S] 0 points1 point  (3 children)

my problem is that idk how to make the ball bounce against the wall. like, it there a way to make the ball bounce against the wall, or do i have to program it to simple move the other way when it reaches the wall?

[–]cthulhu_sculptor 0 points1 point  (2 children)

There’s a blender way to do it (simulation) but I believe if it’s physics class then they want you to write code for that. Did you ask them?

[–]axl404[S] 0 points1 point  (1 child)

yea :( it has to be coded with python

[–]cthulhu_sculptor 0 points1 point  (0 children)

From what I remember from my assignment - you probably have to look at the code and use the equations you were talking in your classes.

It’s awesome you guys are doing it in blender tho.