Digital Workshop http://forum.digitalworkshop.co.uk/ |
|
oscillating ball http://forum.digitalworkshop.co.uk/viewtopic.php?f=13&t=1634 |
Page 1 of 1 |
Author: | alastair ashby. [ March 30th, 2006, 3:23 pm ] |
Post subject: | oscillating ball |
Am very new to Opuscript.Followed Graham's bouncing ball and have tried to use the ideas to simulate a ball that is oscillating up and down about a fixed line. Any of you clever people out there who can help as I can only get the ball to drop from the fixed line and come up again to fixed line. It then stops and won't go upwards above the line. |
Author: | demofred [ March 30th, 2006, 11:41 pm ] |
Post subject: | Non-Scripting Solution |
I'm in awe of people who create Script in OPUS. I try to keep it simple and NOT use Script if possible. Here's what I'd do: Create an Image Object and insert a ball image. Create a Frame and position it above and below the fixed line (on the far left side). Now, using the Organizer, Insert the Image Object into the Frame. Now create an On Show Trigger on the Page or any of the Objects. Under Program, select the Simulanteious option, then have an Action of Animation - Bounce Ball up and down, then have an Action of Animation Move Frame Horizontal some distance (I used 1000) at 10 seconds. On Preview, the Ball should start to move up, but also to the right in an arc. At the top of the arc it starts down. At the end of the distance, I used a Continuous and At End Return. All this an no Scripting. |
Author: | Graham Baglin [ April 1st, 2006, 8:53 am ] |
Post subject: | |
Hi Alistair You are mistaken. It is not my bouncing ball script - wish it was though. The bouncing ball script is totally Robin Garrett's brilliant work! I see the mercurial Fred Harms has applied his awesome knowledge and renown expertise to solve your problem. Cheers Graham |
Author: | demofred [ April 1st, 2006, 10:56 pm ] | ||
Post subject: | Example | ||
Thanks Graham! Here's an example of the "bouncing ball (vector)". This may help people understand the Simultaneous feature, and simple animations which do not use Scripts.
|
Author: | alastair ashby. [ April 3rd, 2006, 1:27 pm ] |
Post subject: | Bouncing ball |
Thank you all for taking the time to reply to my question. I have solved the initial problem but what i want to do is simulate wave motion (i.e. A sine curve) to enable me to illustrate some physics theory. (I am sadly one of a rare breed - a physics teacher) any further advice would be greatly appreciated. Fred, I have not as yet tried your suggestion but will in the next day or so. |
Author: | Steve H [ April 4th, 2006, 1:06 am ] | ||
Post subject: | |||
Hi Alastair, Once you check out Fred's good sample, its animation replicates close to a sine wave, but more like a saw-tooth wave. If you want to create a sine wave, then why not try using the Animation Path option in Opus? The attached IMP is only a crude example, so I hope this is what you mean by a sine wave curve. No scripting involved. Hope this helps.
|
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |