Okay, I just spent the last 6 hours trying to make a piston, It should be easy enough, just a punch of hinge joints really but for one reason or another its just not working. The crankshaft can turn the piston but not the other way around.
Here is my code anyway, should be ready to run, all you need to do is draw the bodies and simulate the world
Fixed, no rotation was set to true..
- Game Maker Community
- → Viewing Profile: Posts: general sirhc
general sirhc
Member Since 09 Jun 2007Offline Last Active May 20 2012 02:09 PM
Community Stats
- Group New Member
- Active Posts 1651
- Profile Views 8053
- Member Title YW Creator
- Age 20 years old
- Birthday June 18, 1992
-
Gender
Male
-
Location
Your World
-
Interests
Things that I find interesting
Contact Information
-
AIM
Hello,
-
Website URL
http://ywforum.11.forumer.com/index.php
-
Yahoo
Im so awesome are you?
55
Mostly Harmless
Latest Visitors
Posts I've Made
In Topic: Extremephysics - 2d Physics Engine For Game Maker
07 May 2012 - 02:07 PM
In Topic: Extremephysics - 2d Physics Engine For Game Maker
28 December 2011 - 04:11 PM
**SOLVED**
Ah this is driving me insane, I cannot work out for the life of me, if I attatch 2 bodies together using a hinge joint and I want the second body to rotate relative to the first body and never by itself how do I do it, I have tried using limits on a hinge joint but although I got a working solution it pulls the first body to the same angle as the second body!
I have also tried a slider joint with a rail length of 1 and the same thing happened, the second body that is attatched to the first body should not affect the first bodies rotation =\
Edit:
I am a freaking idiot! Extremephysics works in radians, I was supplying degrees lmfao no wonder
Ah this is driving me insane, I cannot work out for the life of me, if I attatch 2 bodies together using a hinge joint and I want the second body to rotate relative to the first body and never by itself how do I do it, I have tried using limits on a hinge joint but although I got a working solution it pulls the first body to the same angle as the second body!
I have also tried a slider joint with a rail length of 1 and the same thing happened, the second body that is attatched to the first body should not affect the first bodies rotation =\
Edit:
I am a freaking idiot! Extremephysics works in radians, I was supplying degrees lmfao no wonder
In Topic: GM 8 Error: Drawing Surfaces
27 December 2011 - 07:34 AM
Nocturne, thatd be far too easy =p
In Topic: GM 8 Error: Drawing Surfaces
27 December 2011 - 06:20 AM
Microsoft Windows XP Professional
Version 2002
Service Pack 3
2.93 GHz. 2,00 GB RAM
These specs don't mean anything graphics wise, which is what the error is referring to. If you download a little program called gpu-z (Doesn't require installation), that will provide all the information to help us solve your problem.
Download Here if you have trouble finding the download link
Version 2002
Service Pack 3
2.93 GHz. 2,00 GB RAM
These specs don't mean anything graphics wise, which is what the error is referring to. If you download a little program called gpu-z (Doesn't require installation), that will provide all the information to help us solve your problem.
Download Here if you have trouble finding the download link
In Topic: A faster/shorter/easier way to calculate normals
30 June 2011 - 12:20 PM
Oh I feel so stupid, in all my tests it worked because all the normal tests I did were facing similar directions..
Still though I guess I am learning how to calculate normals.. even if it is badly lol
Thanks Jon
Still though I guess I am learning how to calculate normals.. even if it is badly lol
Thanks Jon
- Game Maker Community
- → Viewing Profile: Posts: general sirhc
- Privacy Policy
- GMC Rules and Forum Rules ·



Find content
