diff options
author | Nick Samarin <nicks1987@bigmir.net> | 2010-08-15 16:58:13 +0400 |
---|---|---|
committer | Nick Samarin <nicks1987@bigmir.net> | 2010-08-15 16:58:13 +0400 |
commit | b822f0bb7a756ea48a035161db9576ec768098ee (patch) | |
tree | 3471c07286f75cdb200d68d57e3e7228eb634c26 /source/blender/blenkernel | |
parent | 3a8f3dd3f5e843ef8abad41996ebe5f7041e3807 (diff) |
added option for automatic facing in steering actuator
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/sca.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/sca.c b/source/blender/blenkernel/intern/sca.c index 6ff15b31cc0..91c052bcbda 100644 --- a/source/blender/blenkernel/intern/sca.c +++ b/source/blender/blenkernel/intern/sca.c @@ -472,6 +472,8 @@ void init_actuator(bActuator *act) sta->turnspeed = 120.f; sta->dist = 1.f; sta->velocity= 3.f; + sta->flag = ACT_STEERING_AUTOMATICFACING; + sta->facingaxis = 1; default: ; /* this is very severe... I cannot make any memory for this */ /* logic brick... */ |