General

Is there any accelerometer object ?

Started by ease on .

Sign in or create an account to join the conversation.

8 posts

Topic starter
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....
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 . . .
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
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, generally speaking objects always respond to touch.
armatronix wrote: Also, Is there a way to lock the screen rotation from within the project?
No, you need to use the physical switch on the iPad.