wiggles not working in my scripts.

Case number:671071-988933
Topic:Game: Other
Opened by:GaryForbis
Status:Closed
Assigned:admin
Priority:3
Type:Bug
Opened on:Wednesday, November 24, 2010 - 19:11
Last modified:Friday, November 26, 2010 - 22:29

I have copied this code from other places where it is working but it isn't working in my scripts:

-- gary testing
print("score before=",get_score(true))
do_global_wiggle_backbone(1)
do_global_wiggle_all(1)
print("score after=",get_score(true))
print("testing a null function")
do_nothing()

See the image below for verification. What am I doing wrong?

AttachmentSize
no wiggle working.png424.78 KB
(Wed, 11/24/2010 - 19:11  |  2 comments)


Joined: 08/06/2010
Groups: None
Status: Open » Closed

OK, I've learned that I have to put a select_all() before the wiggles.
The select_all() in one script affects other scripts as well.
Strange. I learn something every day.

Joined: 06/17/2010

Exacly, you need have select at least 1 segment to shake or wiggle.

Sitemap

Supported by: UW Center for Game Science, UW Department of Computer Science and Engineering, UW Baker Lab, DARPA, NSF, HHMI, Microsoft, and Adobe