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 / Problem with 'SetJointMotorOn' What is the most powerful motor setting?

Author
Message
Mark Garrett
Reviewed AGK on Steam
19
Years of Service
User Offline
Joined: 10th Jul 2005
Location: California, US
Posted: 3rd Aug 2017 03:33 Edited at: 3rd Aug 2017 08:03
I have a subroutine where 3 windmills turn. On those 3 windmills I drop 100 balls. When the balls settle down, 2 of the windmills stop spinning because the weight of the balls.
I have set the motors to a very strong setting of 1990000, but still, they stop spinning because the weight of the balls. What is the strongest setting I can set the motors to keep the windmills spinning?


.
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 3rd Aug 2017 08:15 Edited at: 3rd Aug 2017 08:16
i think the ball is limited by border and that result in no move if the blade force go exact from up to down.
it seems making the ball mass lower helps.
SetPhysicsDebugOn()
SetPhysicsCCD(1)

SetSpritePhysicsMass(spr,0.1)

http://box2d.org/documentation/
AGK (Steam) V2017.07.19 : Windows 10 Pro 64 Bit : AMD (17.4.4) Radeon R7 265 : Mac mini OS Sierra (10.12.2)

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-09-30 05:27:58
Your offset time is: 2024-09-30 05:27:58