Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 04-03-2009, 03:45 PM   #1 (permalink)
New Member
 
Join Date: Apr 2009
Posts: 1
Question button manipulation

Hi guys;
I am new to the iphone dev platform my question:
is there a way to touch a button and then move it (by moving your finger and releasing when you lift your finger) and calculate the vector direction of the move?
thanks for your help
samin is offline   Reply With Quote
Old 04-03-2009, 08:14 PM   #2 (permalink)
Registered Member
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,049
Default

Quote:
Originally Posted by samin View Post
Hi guys;
I am new to the iphone dev platform my question:
is there a way to touch a button and then move it (by moving your finger and releasing when you lift your finger) and calculate the vector direction of the move?
thanks for your help
You are better off asking this in the main SDK forum as this isn't specific to the beta 3 SDK (or is it)....in the meantime look at Apple's example app named Touches.
wuf810 is offline   Reply With Quote
Old 04-03-2009, 08:47 PM   #3 (permalink)
Pro. Game Developer
iPhone Dev SDK Supporter
 
Join Date: Feb 2009
Location: żLa Islas Hermosas?
Posts: 2,178
Default

For the second half of your question, trigonometry (you know, that class that all of the geeks and dweebs took in high school?) is your friend! Link: Trigonometry - Wikipedia, the free encyclopedia
Kalimba is offline   Reply With Quote
Reply

Bookmarks

Tags
angle, calculation, touch, vector

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 245
18 members and 227 guests
ADY, Alsahir, beleg_1998, Dani77, e2applets, iDifferent, iph_s, JamesCahall, JasonR, mer10, Monstertaco, prchn4christ, Promo Dispenser, Robiwan, Rudy, smithdale87, spiderguy84, timle8n1
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,880
Threads: 89,228
Posts: 380,756
Top Poster: BrianSlick (7,129)
Welcome to our newest member, @sandris
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:17 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0