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!請張貼您的意見/建議!