sidebar features
sidebar content

Go Back   Blender Artists Forums > Game Engine > Game Engine Support and Discussion

Reply
 
Thread Tools
skullbunny's Avatar
skullbunny skullbunny is offline
Member
 
Join Date: Dec 2005
Location: chicago
Posts: 184
Here's most of the notes I could find on the new 2.47 features. Please post any others that you think will helpful.


State Machine:
http://lists.blender.org/pipermail/b...ne/014521.html

States tutorial by Lostinspace:
http://lostinspacesite.googlepages.com/states.html

New Actuators and Sensors: Servo Control, Distance Constraint, Orientation Constraint, Actuator Sensor, Sensor Lvl Option
http://lists.blender.org/pipermail/b...ly/014634.html

Servo Motion Actuator, in greater detail:
http://blenderartists.org/forum/showthread.php?t=133946

Dupligroups in the Game Engine
http://lists.blender.org/pipermail/b...ly/014798.html

IPO Actuator Changes
http://lists.blender.org/pipermail/b...ly/014692.html

NAND, NOR, XOR, XNOR controllers, usefull to create complementary outputs to start and stop actuators synchronously.
http://lists.blender.org/pipermail/b...ne/014548.html

GameLogic.globalDict, a place where data can be stored even when new blend files are loaded.
http://lists.blender.org/pipermail/b...st/015394.html


GLSL is not in the 2.47 release. It is still available in the Apricot branch. Advanced builds can be found at graphicall.org.
............................................
www.christopherschons.com My comics and games
www.polaire-online.com If you know a girl who likes cute stuff, check out our store!

Last edited by skullbunny; 26-Aug-08 at 16:58.
#1   Old 25-Aug-08, 19:49   
Reply With Quote


kirado kirado is offline
Member
 
Join Date: Jun 2006
Posts: 1,607
Delay sensor: The sensor fires after a specified amount of frames have passed.. then, it can stay on for a specified amount of frames, and it can repeat forever, or do just once.
http://lists.blender.org/pipermail/b...st/015342.html

Some simple uses:
Use it to delay playing animations.
Use it to turn off or change states after a certain amount of time.

Last edited by kirado; 27-Aug-08 at 06:59.
#2   Old 25-Aug-08, 20:56   
Reply With Quote
OTO OTO is offline
Moderator
 
Join Date: Mar 2002
Posts: 3,859
Done!Yes, it's done!
#3   Old 26-Aug-08, 08:34   
Reply With Quote
OTO OTO is offline
Moderator
 
Join Date: Mar 2002
Posts: 3,859
A "states" tutorial by lostinspace:
http://lostinspacesite.googlepages.com/states.html
#4   Old 26-Aug-08, 08:44   
Reply With Quote
alienkid10's Avatar
alienkid10 alienkid10 is offline
Member
 
Join Date: Jan 2008
Location: blender
Posts: 1,003
can someone make a tut on servo motion?
............................................
“I am only one, but still I am one. I cannot do everything, but still I can do something. I will not refuse to do the something I can do.” ~ Helen Keller

Once you were not a people, but now you are the people of God; once you had not received mercy, but now you have received mercy.

Dear friends, I urge you, as aliens and strangers in the world, to abstain from sinful desires, which war against your soul. 1 Peter 2:10-11

I am a Jesus freak ><>
#5   Old 26-Aug-08, 16:06   
Reply With Quote
erROAR's Avatar
erROAR erROAR is offline
Member
 
Join Date: Aug 2008
Location: Meadville, PA
Posts: 28
For five dollars
#6   Old 26-Aug-08, 16:32   
Reply With Quote
erROAR's Avatar
erROAR erROAR is offline
Member
 
Join Date: Aug 2008
Location: Meadville, PA
Posts: 28
Copy-Paste from your other thread, Alienkid10. Take the time to read it.

From Ben2610
Quote:
Servo motion is a powerful way to achieve motion in the physical world. It consists in a servo controller that adjusts the force on the object in order to achieve a given speed, hence the name servo motion.

Achieving speed through force is a very natural method because this is how the real world works. It produces natural movements, avoids the collision problem unlike dLoc and interacts correctly with gravity unlike linV.

At the heart of the servo motion actuator there is a PID servo controller: it measures the speed error (= the difference between the target speed and the actual speed) and updates the force based on the error by applying a force that is proportional to the error (the 'P' coefficient) and proportional to the integral of the error (the 'I' coefficient). The higher the coefficients, the "harder" the speed control (= quick reaction); the lower the coefficients, the "softer" the speed control (=slow reaction, sliding effect).
Additionally you can limit the force along each axis so that the accelaration (or braking) force is limited.

To compare with the cruise control in a car, the P and I coefficient define how precise will be the control and the limit coefficients define the power of the engine and thus how quickly it will reach the target speed.

You can achieve a great variety of movement styles with the servo motion actuator, for example, by not limiting the force along the transversal axis, you get a strong reaction to sliding, which is equivalent to anysotropic friction.

The servo motion actuator applies forces; it is therefore not compatible with other actuators that sets the force too, i.e a simple motion force actuator or another servo motion, although it is possible to combine two servo motion actuators that works on different axis.

Here for example a request for Franky's falling behavior during the Apricot dev: when Franky is falling, its falling speed should be limited (say to 10), as if there was air friction. The idea is to compensate the gravity when the speed reaches the limit. These settings will achieve the goal:



Explanation:
Local flag is not set => the speed is measured and the force is applied in global coordinates, required as we are compensating the gravity.
By setting small force limits on the X and Y axis, the horizontal movements of Franky are not disturbed, just a small friction.
The speed target of -9 on the Z axis sets the target falling speed.
The max force of 15 is sufficient to compensate the gravity (assuming the object mass is 1 and gravity is 9.81, the weigth is 9,81). If the object is heavier, increase that limit.
The min force of 0 means that the servo motion controller will no be able to speed-up the falling (would require negative force), Franky will fall naturally until it reaches -9 from which speed the servo motion will start to apply a positive force to block the speed.
The I coefficient of 0 means no bouncing in the speed: Franky will not slow down, it will simply stop falling faster.
The P coefficient of 10 means that a speed error of 1 is necessary to achieve a negative force that is high enough to compensate the gravity => the actual falling speed will be -10. Note that P is independent to mass: the actual force applied = P*error*mass.
#7   Old 26-Aug-08, 16:35   
Reply With Quote
alienkid10's Avatar
alienkid10 alienkid10 is offline
Member
 
Join Date: Jan 2008
Location: blender
Posts: 1,003
I have read it, but I still don't understand it!(why else would I ask AGAIN?)
............................................
“I am only one, but still I am one. I cannot do everything, but still I can do something. I will not refuse to do the something I can do.” ~ Helen Keller

Once you were not a people, but now you are the people of God; once you had not received mercy, but now you have received mercy.

Dear friends, I urge you, as aliens and strangers in the world, to abstain from sinful desires, which war against your soul. 1 Peter 2:10-11

I am a Jesus freak ><>
#8   Old 26-Aug-08, 16:39   
Reply With Quote
kirado kirado is offline
Member
 
Join Date: Jun 2006
Posts: 1,607
keep reading it until you get it.. or ask more specific questions about parts you don't understand.
#9   Old 26-Aug-08, 19:51   
Reply With Quote
alienkid10's Avatar
alienkid10 alienkid10 is offline
Member
 
Join Date: Jan 2008
Location: blender
Posts: 1,003
ok then how do I make my char slid like as if on ice? Also what does the slider bar "D" do?
............................................
“I am only one, but still I am one. I cannot do everything, but still I can do something. I will not refuse to do the something I can do.” ~ Helen Keller

Once you were not a people, but now you are the people of God; once you had not received mercy, but now you have received mercy.

Dear friends, I urge you, as aliens and strangers in the world, to abstain from sinful desires, which war against your soul. 1 Peter 2:10-11

I am a Jesus freak ><>
#10   Old 26-Aug-08, 21:13   
Reply With Quote
Ace Dragon Ace Dragon is online now
Banned Member
 
Join Date: Feb 2006
Location: Wichita Kansas
Posts: 12,952
I assume lowering the max force to just enough to slow things down very slowly and setting P to a lower value would do it.

I hear D shouldn't be changed, you should be very careful in tweaking that. Also you might want to tick the little 'L' button.
#11   Old 26-Aug-08, 21:33   
Reply With Quote
iluvblender's Avatar
iluvblender iluvblender is offline
Member
 
Join Date: Mar 2002
Location: Hyderabad, Andhra Pradesh, India
Posts: 772
Cool thread. I was dying to get hands on the new features in game engine for 2.47.

Over the last weekend, i tinkered around with the states and wrote this semi-tutorial. Hope it is useful to you folks.

http://iluvblender.googlepages.com/b...emachinesimula

............................................
--------------------------------------------------------------------
...imagine...create....express...share...enjoy...
http://sites.google.com/site/satishgoda/blender

It's a poor workman who blames his tools.
#12   Old 28-Aug-08, 12:58   
Reply With Quote
kirado kirado is offline
Member
 
Join Date: Jun 2006
Posts: 1,607
@ Iluvblender..thanks that's a cool tut..
#13   Old 03-Sep-08, 11:08   
Reply With Quote
kakapo kakapo is offline
Member
 
Join Date: Jan 2005
Posts: 530
is there a tutorial somehwere about doing vehicles in blender's game engine?
#14   Old 03-Sep-08, 17:25   
Reply With Quote
Asa J's Avatar
Asa J Asa J is offline
Member
 
Join Date: Oct 2007
Posts: 107
ooooh, now my mouth is watering.
............................................
My project: the ice age game
#15   Old 04-Sep-08, 13:57   
Reply With Quote
kirado kirado is offline
Member
 
Join Date: Jun 2006
Posts: 1,607
-->finally finished, a more in depth state machine tutorial.
My tut is quite long. .but it goes more into how state work and how to use invert and subtract.
http://blenderartists.org/forum/show...70#post1200670

I recommend trying lostinspaces tut first.

Last edited by kirado; 04-Sep-08 at 15:12.
#16   Old 04-Sep-08, 15:09   
Reply With Quote
kamaro kamaro is offline
Member
 
Join Date: Aug 2007
Posts: 219
I saw that in the apricot premier there is animated water.Is it realtime? Is there a tutorial how to achieve it?
#17   Old 05-Sep-08, 13:04   
Reply With Quote
daslicht daslicht is offline
Member
 
Join Date: Jan 2008
Posts: 4
Still no hardcoded MIDI Interface in Blender ?!
#18   Old 07-Sep-08, 16:02   
Reply With Quote
kirado kirado is offline
Member
 
Join Date: Jun 2006
Posts: 1,607
Here's a link to thread where Ben2610 explains how to get something to happen at the end of an IPO.

http://blenderartists.org/forum/showthread.php?t=134668
#19   Old 08-Sep-08, 08:30   
Reply With Quote
kirado kirado is offline
Member
 
Join Date: Jun 2006
Posts: 1,607
a thread explaining how to use python to change the bit state masks..

http://blenderartists.org/forum/showthread.php?t=135186
#20   Old 11-Sep-08, 07:02   
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 18:38.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Logo and website design copyright © 2006 by froodee design bureau. All rights reserved.
Other Blender Sites
new icon Blender Homepage »
The official Blender homepage
new icon BlenderNation »
Fresh Blender News, Every Day
new icon Blenderart Magazine »
Blender articles, tutorials and images.
Blender Headlines
Featured Artwork
Short animation: Barrel by Phlopper
Woolly mammoth by sebastian_k
Photorealistic classic furniture by eMirage
Social BlenderArtists