Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/www/users/phun/forum/include/common.php on line 58

Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/phun/forum/include/common.php:58) in /usr/www/users/phun/forum/header.php on line 31

Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/phun/forum/include/common.php:58) in /usr/www/users/phun/forum/header.php on line 32

Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/phun/forum/include/common.php:58) in /usr/www/users/phun/forum/header.php on line 33

Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/phun/forum/include/common.php:58) in /usr/www/users/phun/forum/header.php on line 34
Phun - 2D physics sandbox - forum / An interesting segway concept.

Phun - 2D physics sandbox - forum

Official Forum

You are not logged in.

#1 2009-05-08 22:19:09

Speedfalcon
New member
Registered: 2009-05-03
Posts: 3

An interesting segway concept.

In phun, if you want a prop that just looks and does the same thing as a segway - e.g. keeping a weight upright and transporting it using only 1 set of wheels, you can just add a large, invisible weight below the hinge to make the segway have a low centre of gravity. However, I found making a true to life segway a very fun project. Here are the steps to making one that would basically function similarily to a real segway.

A real life segway works by measuring your position to the ground, and adjusting motor speed to correct any balance disturbance. The problem in phun is that you can't yet include robotics into your machines, so you have to make use of the tools you do have.

1. Create a small rectangle, which floats from your plane at the height you want the radius of your wheels to be.
2. On one side, draw out a circle, give it a hinge, highlight it and send it to the back layer.
3. Copy both the circle and the hinge, and move it ever so slightly to the right/left.
4. Give Circle A collision A and Circle B collision B.
5. Highlight both of the hinges and give them a fast, strong motor...
6. then, make sure that the left hinge is spinning counter-clockwise and the right hinge spins clockwise.
7. Attach a weight to your segway and start the simulation.

Like the real thing, this segway will respond to tilting. As the segway tilts to the right, only the right wheel makes contact with the segway, which makes it correct it's balance, swinging it over to the left. Feel free to nudge the segway as many times as you like.. it will keep standing up.

Imagine what other uses in Phun this system could provide...

Offline

 

#2 2009-05-08 23:14:08

Skydiver
Member
From: São Paulo - Brazil
Registered: 2009-04-18
Posts: 18

Re: An interesting segway concept.

http://www.phunland.com/phunbox/upload/image/th/20295_segway_v22.png
Author: pixartist
Title: Segway 2.2 (with driver)
File Size: 147.86 kB
Rating: http://www.phunland.com/phunbox/rating/20295
http://www.phunland.com/phunbox/theme/img/download_bar_red_part.pnghttp://www.phunland.com/phunbox/theme/img/download_bar_blue_part.png

Offline

 

#3 2009-05-21 10:13:54

Nxdt
Post Addict
From: Scotland!
Registered: 2009-03-24
Posts: 698

Re: An interesting segway concept.

Is this what you mean.
http://www.phunland.com/phunbox/upload/image/th/22081_Segway_-_No_Scripting.png
Author: Nxdt
Title: Segway - No scripting
File Size: 20.47 kB
Rating: http://www.phunland.com/phunbox/rating/22081
http://www.phunland.com/phunbox/theme/img/download_bar_red_part.pnghttp://www.phunland.com/phunbox/theme/img/download_bar_blue_part.png


http://i540.photobucket.com/albums/gg327/ioncann0ns/ubd9085-1.png   big_smile               
http://miniprofile.xfire.com/bg/sh/type/0/nxdt.png

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

Phun and Phunland.com is copyright of Algoryx