A Flash Developer Resource Site

Results 1 to 13 of 13

Thread: cos/sin * distance from guntip to rotation point?

Hybrid View

  1. #1
    Bacon-wrapped closures Nialsh's Avatar
    Join Date
    Dec 2003
    Location
    Houston!
    Posts
    338
    Sounds right. And your B term will probably be zero.

  2. #2
    Junior Member
    Join Date
    Jul 2009
    Posts
    25
    i tried to do that. i had this:
    PHP Code:
    setProperty(bullet_xchar._x+L*Math.cos(angle)); 
    and same with y but Math.sin.
    L = 15, then i tried with 30. do neither worked. do the values for L seem right?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center