User Tag List

Results 1 to 10 of 10

Thread: Stab Isuue

  1. #1
    No Products Registered

    Join Date
    Oct 2009
    Posts
    480
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Stab Isuue

    Hi,

    So, I'm having problems with stabbing, the object is to have the spear-thing "stab" at the mouse when the space bar is pressed. I posted an example here of what I am trying to do. I thought I did it right, but obviously I did something wrong.

    -Thanks, Variant

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleMac Export Module
    dsilvers's Avatar
    Join Date
    Jun 2008
    Location
    Boston, MA
    Posts
    658
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Stab Isuue

    If you want to stab directly at the mouse you'll need to use the trig functions, specifically ArcTan2 to get the arc tangent of the mouse's x and y position, then stab at that angle. Find the article on Sine and Cosine and why they are awesome.

  3. #3
    No Products Registered

    Join Date
    Oct 2009
    Posts
    480
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stab Isuue

    That's what I tried to do! But for some reason it isn't working.

    -Variant

  4. #4
    No Products Registered

    Join Date
    Jul 2009
    Posts
    75
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stab Isuue

    Stabbidy

    I'm not sure if this will be at all helpful, but it was fun to make.

  5. #5
    No Products Registered

    Join Date
    Oct 2009
    Posts
    480
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stab Isuue

    It kind of helps, but the issue is the object that is stabbing is more of a sword-type thing, so it would look kind of weird if the sword just expanded to stab someone. I was really hoping there was a way to do it "position wise".

    -Thanks, Variant

  6. #6
    No Products Registered

    Join Date
    Jul 2009
    Posts
    75
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stab Isuue

    You might be able to fake it using an animation with moving action point. Example:

    Stabbidy 3

  7. #7
    No Products Registered

    Join Date
    Oct 2009
    Posts
    480
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stab Isuue

    That looks nicer. I don't understand how it works at all though.

    -Thanks, Variant

  8. #8
    No Products Registered

    Join Date
    Jul 2009
    Posts
    75
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stab Isuue

    I'll comment and upload a new mfa here in a bit...

  9. #9
    No Products Registered

    Join Date
    Jul 2009
    Posts
    75
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stab Isuue


  10. #10
    No Products Registered

    Join Date
    Oct 2009
    Posts
    480
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stab Isuue

    I sort of get it, but it's not like straight enough for me, it's a great idea, but I think I'll just stick with my bad 2-directional idea.

    -Thanks, Variant

Similar Threads

  1. Think i'm going to stab something...
    By Ribrob in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 22nd July 2011, 03:02 PM
  2. Stab Issues
    By variant in forum File Archive
    Replies: 0
    Last Post: 15th February 2010, 02:26 AM

Posting Permissions

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