Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / My motorbike isn't working :(

Author
Message
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 11th Nov 2013 02:43
Can somebody help me make a physics-based motorbike?

Here's my non-working code:


The problem is the joint, I'm not sure how they work
It's using the percentage based system


formerly MissJoJo - Audacia Games
SoftMotion3D
AGK Developer
19
Years of Service
User Offline
Joined: 24th Aug 2005
Location: Calgary,Alberta
Posted: 11th Nov 2013 03:36 Edited at: 11th Nov 2013 03:36
I was gunna give yea some mechanical advice.... but then I realized it was code...lol! jk...

I'm of no help in the physics department but from what I've seen in your bunniez game... im sure you will figure something out.

easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 11th Nov 2013 03:41
Ok, thanks for the complement Although Neon Bunniez doesn't use any joints, and joints are the problem here.


formerly MissJoJo - Audacia Games
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 11th Nov 2013 04:11
ahh, figured out my problem. When creating the Revolve joint, the x/y coors are not relative to the sprite. they are absolute world coors.


formerly MissJoJo - Audacia Games
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 11th Nov 2013 14:04
Beat me to it

oct(31) = dec(25)
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 11th Nov 2013 23:30 Edited at: 12th Nov 2013 01:17
Just a quick question, how to you do shapes?

Like this:
Doing the frame?


EDIT: never mind, figured it out again


formerly MissJoJo - Audacia Games

Login to post a reply

Server time is: 2024-11-24 21:21:27
Your offset time is: 2024-11-24 21:21:27