1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Control over his arm?

Discussion in 'Loader Requests' started by Max Power, Jan 7, 2015.

  1. Max Power

    Max Power Potential Patron

    Joined:
    Dec 6, 2014
    Messages:
    37
    Likes Received:
    0
    I would have sweared to have seen a thread about this, but I´ve used the search function for a while and can´t come across it again...

    Would it be posible to get some sort of control over his arm further from "free" or "head grab"? As an animtools user I´m well aware of how tricky this can be as the arm is not really connected to him (sometimes hangs off the ceiling etc), but I think some options would be great.

    Something like a toggle button with some more positions (on her shoulder, on her waist, on her breast, etc) or thought animtools control, like when you move her arms freely, would be good ways to implement it if the job is doable.
     
  2. Gameboy739

    Gameboy739 Vivacious Visitor

    Joined:
    Oct 14, 2012
    Messages:
    88
    Likes Received:
    1
    Sby says he is working around on it.
     
  3. sby

    sby Club Regular Content Creator

    Joined:
    Sep 11, 2012
    Messages:
    1,330
    Likes Received:
    73
    yeah, i am able to change the mount point and target location of his arm, but the rotation of his and her tween is moving his arm around

    edit - figured out why his arm was moving around, things now looking nicely
     
  4. mewmewmew

    mewmewmew Potential Patron

    Joined:
    Dec 26, 2014
    Messages:
    7
    Likes Received:
    0
    That looks great, not only will the hanging-in-the-air problem disappear but also will give new positions.

    Have you looked into second arm at all? There's that option to show 'third arm' in the loader tab that creates another left arm which moves same way right one does. I'd imagine if you could hide his initial left arm then that option arm could be used exactly the same way.
     
  5. Slingerbult

    Slingerbult Casual Client Content Creator

    Joined:
    Sep 15, 2012
    Messages:
    370
    Likes Received:
    49
    Wow, so now he could spank her ass and maybe even hold his own dick. Impressive!
     
  6. Max Power

    Max Power Potential Patron

    Joined:
    Dec 6, 2014
    Messages:
    37
    Likes Received:
    0
    Wow, great to see some progress has been made there! This and cheekbulge will make a massive difference. Great job guys, thanks ;)
     
  7. sby

    sby Club Regular Content Creator

    Joined:
    Sep 11, 2012
    Messages:
    1,330
    Likes Received:
    73
    i haven't looked how DA implements the slap thing, i kinda doubt it would be compatible unless it does it stuff by manipulating the value of armpos

    edit - for those interested, here is a bit of how it is done
    Code:
    
    	if (g.handsOff)    //arm resting at side
        {
    		bod._him.armContainer.arm.x = prevarmx + (handpointrest.x - prevarmx) * 0.1;
    		bod._him.armContainer.arm.y = prevarmy + (handpointrest.y - prevarmy) * 0.1;
    		prevarmx = bod._him.armContainer.arm.x;
    		prevarmy = bod._him.armContainer.arm.y;
    		
    		//bod._him.armContainer.arm.x = handpointrest.x;
    		//bod._him.armContainer.arm.y = handpointrest.y;
    
    	
    	}
    	else
    	{
    		if (g.her.isReleased())    //arm approaching her
    		{
    			bod._him.armContainer.arm.x = himp.x + Math.max(0,bod.armPos) * (handpointrest.x - himp.x);
    			bod._him.armContainer.arm.y = himp.y + Math.max(0,bod.armPos) * (handpointrest.y - himp.y);
    		    //bod._him.armContainer.arm.x = handpointrest.x;
    			//bod._him.armContainer.arm.y = handpointrest.y + g.animationControl.animations["default"].hisTween._tweenMatrix.ty;
    		
    		}
    		else    //grabbing head
    		{
    			var percent:Number = Math.min( Math.max(0, (g.her.pos + 0.15) / 1.17),1);
    			bod._him.armContainer.arm.x = himp.x + percent * (himp2.x - himp.x);
    			bod._him.armContainer.arm.y = himp.y + percent * (himp2.y - himp.y);
    			//_him.armContainer.arm.x = _loc_4.x + _loc_5 * 250;
               // _him.armContainer.arm.y = _loc_4.y - _loc_5 * 30;
    			
    		}
    	}
    
     
  8. Fleack

    Fleack Avid Affiliate

    Joined:
    Nov 20, 2014
    Messages:
    105
    Likes Received:
    4
    This sounds like something Marky Mark would say, not at all sarcastically.
     
  9. stuntcock

    stuntcock Club Regular Staff Member Moderator

    Joined:
    Jun 5, 2012
    Messages:
    1,511
    Likes Received:
    352
    So many literals! It burns us! :P

    Why not use the existing IK stuff? I've written a single synchronous method (for the sake of readability), although you'd probably need to split it up into several functions and callbacks.

    Code:
    var storedHandPosition:Point;
    
    function smackDatAss(){
        // If a Slap is already underway, then ignore the command
        if (storedHandPosition != null) { return; }
    
        // Remember the current hand position so that we can return to it later
        storedHandPosition = g.him.rightArmIK.targetPoint;
    
        // Tell the IK system to move his hand to her buttocks
        g.him.rightArmIK.newTarget(new Point(0,0), g.her.torsoBack.backside);
    
        // Attach a proxy to the IK UpdateTarget method so that we can track the progress of the arm
        var updateTarget = lProxy.createProxy(g.him.rightArmIK, "updateTarget");
        updateTarget.addPost( foo, false );
    
        // TODO: wait until the POST method shows that the target has been reached
        // TODO: tell DialogActions to play the sound clip
        // TODO: do some TransformMatrix shenanigans to make the buttocks jiggle
        // TODO: keep the hand in this position for 300-500ms to "sell" the impact
    
        // The slap is complete.  Move the arm back to its previous position
        g.him.rightArmIK.newTarget(storedHandPosition);
        storedHandPosition = null;
    
        // Remove the proxy
        updateTarget.restoreProxy(false);
    }
    
     
  10. Max Power

    Max Power Potential Patron

    Joined:
    Dec 6, 2014
    Messages:
    37
    Likes Received:
    0
    What´s the plan for user interface Sby?

    Preset positions in vanilla menus (on her waist, cock stuffer, etc)? Total freedom with the arm always starting from the shoulder in animtools? A combination of both?
     
  11. sby

    sby Club Regular Content Creator

    Joined:
    Sep 11, 2012
    Messages:
    1,330
    Likes Received:
    73
    plan is to have the arm management position setting turned off as the default. other position settings include:
    his arm resting point
    arm starting point, and arm ending point
    shoulder point

    essentially, total freedom. interface will be same as placing him and her tweens; buttons can place point where mouse is and line is drawn between the 2 tween points.

    this way, the 'standard' positions that are normal and facefuck will not have these arm changes by having the enable/disable