Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, 7th_zorro, Ayumi), 749 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
newbie question with A6 Comm #28674
06/10/04 11:16
06/10/04 11:16
Joined: Jul 2003
Posts: 592
SLC, UT
prophet Offline OP
User
prophet  Offline OP
User

Joined: Jul 2003
Posts: 592
SLC, UT
I was going through the manual inregards to physics and to tell you the truth, it is all French to me. What I am trying to do is make a ball, that is bouncing in a hollow 3D rectangle, bounce correctly. Any clues or suggestions?


The attempt at a one man show. http://www.mutsoftware.com
Re: newbie question with A6 Comm [Re: prophet] #28675
06/10/04 21:44
06/10/04 21:44
Joined: Mar 2003
Posts: 4,427
Japan
A
A.Russell Offline
Expert
A.Russell  Offline
Expert
A

Joined: Mar 2003
Posts: 4,427
Japan


I found the physics articel in AUM 25 a good start. The example is for the com edition as well.

Re: newbie question with A6 Comm [Re: A.Russell] #28676
06/11/04 06:12
06/11/04 06:12
Joined: Jul 2003
Posts: 592
SLC, UT
prophet Offline OP
User
prophet  Offline OP
User

Joined: Jul 2003
Posts: 592
SLC, UT
Well, I tried that. Thank you for pointing it out. The problem I am having now is I added some gravity so the ball would come back and not get stuck, but the ball loses momentum because of the gravity. How would I make the ball regain momentum when it hits the paddle? Any ideas.


The attempt at a one man show. http://www.mutsoftware.com
Re: newbie question with A6 Comm [Re: prophet] #28677
06/11/04 10:18
06/11/04 10:18
Joined: Sep 2003
Posts: 3,236
San Diego, CA
M
Marco_Grubert Offline
Expert
Marco_Grubert  Offline
Expert
M

Joined: Sep 2003
Posts: 3,236
San Diego, CA
Add an EVENT_FRICTION and add phent_addcentralforce along the NORMAL vector upon impact.

Re: newbie question with A6 Comm [Re: Marco_Grubert] #28678
06/12/04 00:03
06/12/04 00:03
Joined: Jul 2003
Posts: 592
SLC, UT
prophet Offline OP
User
prophet  Offline OP
User

Joined: Jul 2003
Posts: 592
SLC, UT
Should I add this to the paddle that hits the ball or the ball it self? Thanks for responding.


The attempt at a one man show. http://www.mutsoftware.com
Re: newbie question with A6 Comm [Re: Marco_Grubert] #28679
06/13/04 03:36
06/13/04 03:36
Joined: Jul 2003
Posts: 592
SLC, UT
prophet Offline OP
User
prophet  Offline OP
User

Joined: Jul 2003
Posts: 592
SLC, UT
Is it possible to have an object change the gravity when it hits it. Like have gravity be positive and when it his a brick make it negative.


The attempt at a one man show. http://www.mutsoftware.com
Re: newbie question with A6 Comm [Re: prophet] #28680
06/15/04 05:21
06/15/04 05:21
Joined: Sep 2003
Posts: 3,236
San Diego, CA
M
Marco_Grubert Offline
Expert
Marco_Grubert  Offline
Expert
M

Joined: Sep 2003
Posts: 3,236
San Diego, CA
You can change the gravity at any time, but it will affect all entities. To move just a single object use phent_addcentralforce to counter gravity.

Re: newbie question with A6 Comm [Re: Marco_Grubert] #28681
06/24/04 01:13
06/24/04 01:13
Joined: Jul 2003
Posts: 592
SLC, UT
prophet Offline OP
User
prophet  Offline OP
User

Joined: Jul 2003
Posts: 592
SLC, UT
The problem I am having now is the movement of the ball. I have the gravity changing when it hits the bricks and paddle, but the walls appear to kill the gravity to a point where the ball will bounce just back and forth in the square it is in.

here is a link to the beginning of the game. It runs and you can see what I meand then check the code if you wish.

http://www.mutsoftware.com/games/level1.zip


The attempt at a one man show. http://www.mutsoftware.com

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1