General
Is there any accelerometer object ?
Started by ease on .
Sign in or create an account to join the conversation.
i own a lemur and an iphone.
First of all thanks a lot LIINE for this release it s amazing....
Like the title say: Is there any object that could take advantage of this iphone/ipad accelerometer and other object that lemur don't have....
Thx a lot....
First of all thanks a lot LIINE for this release it s amazing....
Like the title say: Is there any object that could take advantage of this iphone/ipad accelerometer and other object that lemur don't have....
Thx a lot....
Hi ease,
Yes indeed there is an accelerometer function. I've attached a simple template at iPhone resolution. Check out the action() scripts in MultiBall and RingArea.
Cheers,
Nick
AccelerometerTest.jzml.zip
Yes indeed there is an accelerometer function. I've attached a simple template at iPhone resolution. Check out the action() scripts in MultiBall and RingArea.
Cheers,
Nick
AccelerometerTest.jzml.zip
High
This is really cool - is the 'z' axis accelorometer[2]? I'll have to check . . . .
Is the gyro accessable? Or the Sudden Motion Sensor?
Oh and the Ambient Light detector?
So much to investigate . . .
Cheers
MM
Edit- oops was looking at Jazz Editor not Lemur Editor - I see now that the accelromoter and battery are available but not the others, sorry . . .
This is really cool - is the 'z' axis accelorometer[2]? I'll have to check . . . .
Is the gyro accessable? Or the Sudden Motion Sensor?
Oh and the Ambient Light detector?
So much to investigate . . .
Cheers
MM
Edit- oops was looking at Jazz Editor not Lemur Editor - I see now that the accelromoter and battery are available but not the others, sorry . . .
Very cool.
It looks like the z-axis is available with accelerometer[2]. Is it a -2..2 range on the z axis?
I also found that placing (accelerometer[1]+1)/2 into the Ring Area's attractor_y behavior and (accelerometer[0]*-1+1)/2 into the attractor_x behavior smooths out the output pretty well. Please see the attached.
Nick, is there a way I can make it so that the RingArea ball doesn't respond to a touch input now that I've done this?
Also, Is there a way to lock the screen rotation from within the project?
Thanks and sorry for the noob questions, lots more to come.
-Hans
AccelTestArmatronix.zip
It looks like the z-axis is available with accelerometer[2]. Is it a -2..2 range on the z axis?
I also found that placing (accelerometer[1]+1)/2 into the Ring Area's attractor_y behavior and (accelerometer[0]*-1+1)/2 into the attractor_x behavior smooths out the output pretty well. Please see the attached.
Nick, is there a way I can make it so that the RingArea ball doesn't respond to a touch input now that I've done this?
Also, Is there a way to lock the screen rotation from within the project?
Thanks and sorry for the noob questions, lots more to come.
-Hans
AccelTestArmatronix.zip
Merci beaucoup Nick c'est débile !!!!
No, generally speaking objects always respond to touch.armatronix wrote: Nick, is there a way I can make it so that the RingArea ball doesn't respond to a touch input now that I've done this?
No, you need to use the physical switch on the iPad.armatronix wrote: Also, Is there a way to lock the screen rotation from within the project?
Ben justement je cherchais aussi comment faire pour avoir l'accelerometre de l'iPhone merci pour le Jzml !
(Salut Ease !!! haha comme on se retrouve !)
(Salut Ease !!! haha comme on se retrouve !)
hi!! thanks for this HUGE potential template. ...sorry for this stupid question but once you have the template on the iPhone how to you make it send datas to the ad-hoc network? i have midi monitor blind to any message...