Phun!- Free Physics simulator phun ! -免费物理模拟器

Posted on May 18, 2008 at 5:01 am张贴于2008年5月18日在上午05时01分

No, I’ve not forgotten how you spell fun, Phun is, in fact a free Physics simulator .不,我已经没有忘记您如何拼写的乐趣, phun ,实际上就是一个自由的物理模拟器 Despite its free nature, Phun’s Physics engine is eerily accurate, and even though it can be immensely useful to students who would like to really understand mechanics or dynamics a lot better, it was really designed with the intent of letting people design their own cool little machines and seeing how they would react in real-life situations.尽管其免费的性质, phun的物理引擎,两者惊人的相似,准确,即使它可以极大地帮助学生谁想真正了解力学或动力学好多了,这是真正的设计意图让人们设计他们自己的清凉小机器和看到他们会如何反应,在现实生活中的情况。

Just to get you started off, I’ll be making a simple cart.只是让您可以开始起飞,我将作出一个简单的购物车。 But first things first, you need to但第一件事首先,您需要 download下载 Phun. phun 。 Its barely 2MB, so it shouldn’t take too long.其勉强2MB的,所以它应该不会太长。

Once Phun is up and running, you should be looking at the home screen.一旦phun是启动和运行,你应该看主屏幕。

形象

First off, some performance tweaks.首先,一些表现技巧。 If you have a slow system, un-tick the “Enable Shaders” and “Draw Clouds” options and tick the “Simple water rendering” box to make Phun lighter on resorces.如果您有一个缓慢的系统,联合国剔“ ,使着色”和“提请云” ,选择和剔“简单的水绘制的”票房,使phun打火机就resorces 。 Now we can get on with the designing!现在,我们可以得到关于与设计!

Hold on!坚持! You should first familiarize yourself with your workspace:您应该先熟悉您的工作:

  • The “Toolbar” on the left is pretty much all you need to design stuff. “工具栏” ,左边是相当所有您所需要设计的东西。 The “Control” Box helps you start and pause the simulation, as well as redo or undo something you did. “控制”框中可以帮助您开始和暂停的模拟,以及重做或撤消的东西你没有。 The “Options” toolbar is used to fine tune performance and behavior. “选项”工具栏是用来微调性能和行为。
  • If you click on “File”, you get several useful options such as loading one of the pre-designed scenes or even integrating them into your current scene.如果您按一下“文件” ,您可以获得几个有用的选项,例如加载一个预先设计的场面,甚至使他们融入您目前的现场。
  • Two of the most important tools in Phun are the “Brush” and “Drag” tools.两个最重要的工具,在phun是“一刀切”和“拖动”工具。 The Brush tool is used to draw polygons, and only polygons.画笔工具是用来借鉴的多边形,只有多边形。 You cannot draw an open shape or even a line.你不能制定一个开放的形状,甚至一条线。 If you just draw a line across something, it deletes that object.如果你只是画一条线的东西,它删除了那个对象。 If while using the brush tool, you click and hold an object, you can even move it around the workspace.如果同时使用刷子工具,您单击并按住一个对象,你甚至可以提出它周围的工作空间。
  • The Drag tool helps you drag stuff around in real-time.拖曳工具可协助您拖曳的东西左右,在真正的工作时间。 What’s the difference between dragging and moving?有什么区别拖动和移动? Moving is merely relocating, while dragging actually simulates how the object would behave in real life.移动只是搬迁,而一拖,其实模拟如何将对象的行为在现实生活中。 Dragging works only when the simulation is in progress.一拖工程,只有当模拟是在进步。

Now, we can get to building that cart.现在,我们可以得到以建设车。 You can create a lot of things in Phun, but they’ll all just hurtle into an abyss unless you have a plane to keep them on.您可以创建一个很多事情在phun ,但他们将所有正义,一路成为一个深渊,除非你有飞机,让他们对。 So, select the Plane tool, and click and hold down somewhere near ground level.因此,选择飞机的工具,并单击并按住附近的地面水平。 A plane should pop up, move your mouse until its level and release the mouse button.飞机应该弹出,移动鼠标,直至其水平和释放鼠标按钮。 If done correctly, you will now have a plane!如果操作正确,现在,您将有一个平面!

形象

As you can see, my plane is a nice green one.你可以看到,我的飞机是一个很好的绿色之一。

Onward to the cart.以后到购物车中。 Draw a Box and a Circle.制定一个方框和一个圆圈。 Now right-click on the Circle and choose the Clone option.现在上按一下滑鼠右键的圆圈,并选择无性系的选择。 This is to ensure our wheels have the same size.这是为了确保我们的车轮有相同的大小。

Once done, align them to form a cart.一旦这样做,使其形成一个购物车。 Like so:像这样:

形象

Make sure the center of the wheels is higher than the base of the cart.确保中心的车轮是高于基础上车。 Now, right-click on each wheel and choose the “Add center hinge” option from the “Geometry Settings”.现在,按一下滑鼠右键,每个车轮并选择“添加中心铰链”选项,从“几何设置” 。 If the hinge is too large, just erase it, Zoom in a bit, and try again.如果铰链过大,刚抹掉它,变焦镜头,在一个位元,并再试一次。 Now hit the Play button in the “Control” menu to see if your cart works!现在击中播放按钮,在“控制”菜单中看到,如果您的购物车内工程!

If you did everything right, the cart should now fall to the ground [if it just stays there, make sure the "Gravity" check box is ticked] and bounce a bit.如果你尽了一切的权利,购物车现在应该跌倒在地上[如果只是停留在那里,确保“重心”复选框分] ,并退回了一点。 Choose the Drag tool and drag it around to see how it moves.选择拖动工具将它拖到靠近看它如何动作。 You now have a fully functional cart!你现在有一个全功能的车!

You can always assign a hotkey to your cart by grouping it.您可以随时指派热键您的购物车里分组。 To do so, draw a circle around it using the drag or brush tool and hit Ctrl+1 on your keyboard.这样做,绘制圆左右,它使用拖曳或刷工具和按Ctrl键一按下键盘上。 Now you can select the cart as a whole by pressing the 1 key.现在,您可以选择购物作为一个整体,按1键。

Remember, there are virtually endless possibilities in Phun.请记住,有几乎无穷无尽的可能性在phun 。 In this very scenario you could experiment with a slanting slope, or even a ramp built onto a slanting slope.在这非常情况下你可以实验与倾斜的斜坡,或什至匝道建成到一个倾斜的斜坡。

形象

You could even read up a bit on some simple machines or load some of the pre-made scenarios for new ideas.你甚至可以阅读起来有点对一些简单的机器或负载的一些前提出的设想的新思路。 Exploring Phun’s many features is sure to be a lot of fun, and don’t be scared to try stuff you don’t understand or know about, for you can always undo it!探索phun的许多功能,肯定会有很多的乐趣,不要害怕尝试的东西你不明白或了解,您可以随时撤消它!

This is a guest post written by Om J. Bathija , a tech enthusiast and blogger. 这是一个客户后写的关于j. bathija ,科技爱好者和Blogger 。

If you enjoyed this post, make sure you 如果您喜欢这个职位,请务必 subscribe to my RSS feed 订阅我的RSS馈送 !

» Filed Under »提交下 Fun Stuff有趣的东西

Related Posts相关文章

Please post your comments/suggestions!请张贴您的意见/建议!