# How to move a mesh by dragging it

**URL:** <https://discourse.mcneel.com/t/how-to-move-a-mesh-by-dragging-it/128014>\
**Category:** Grasshopper\
**Tags:** windows, kangaroo-2\
**Created:** [July 27, 2021, 10:43am UTC](https://discourse.mcneel.com/t/how-to-move-a-mesh-by-dragging-it/128014 "2021-07-27T10:43:39Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![k.tsuku.14](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/k.tsuku.14/32/470032_2.png) [@k.tsuku.14](https://discourse.mcneel.com/u/k.tsuku.14)\
**Post date:** [July 27, 2021, 10:43am UTC](https://discourse.mcneel.com/t/how-to-move-a-mesh-by-dragging-it/128014/1 "2021-07-27T10:43:39Z")

</div>

How do I drag the model to move it like in the video attached by Daniel Piker in the link below?（The second video）  
I can imagine the person inflating (probably pressure in Kangaroo2), but there are a few things I can’t figure out.  
(1) Why is the person standing instead of falling?  
(2) Why is it possible to drag the mesh?

Please share how you can reproduce this. If you have made a similar program, I would like to see the GH file.

> [@Create game with grasshopper](https://discourse.mcneel.com/t/create-game-with-grasshopper/127961/4):
>
> Obviously a 3d modelling software isn’t a great place to develop a ‘proper’ game, but making little toys like this can be a fun way to learn and develop things that come in handy later. I often make silly tests as I’m developing Kangaroo. This was when I was testing out the new SoftBodyCollide goal, but it actually lead me to notice a bug in the shell bending that I might not otherwise have spotted, so even messing around with stupid things like this can sometimes lead to …

---

<div class="post-metadata">

**Author:** ![martynjhogg](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/martynjhogg/32/513395_2.png) [@martynjhogg](https://discourse.mcneel.com/u/martynjhogg)\
**Post date:** [July 27, 2021, 10:55am UTC](https://discourse.mcneel.com/t/how-to-move-a-mesh-by-dragging-it/128014/2 "2021-07-27T10:55:28Z")

</div>

Use the grab component to move the vertices of the mesh by CTRL+Click&Drag and have some sort of constraint on the distances between the vertices of the mesh.

---

<div class="post-metadata">

**Author:** ![DanielPiker](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/danielpiker/32/666337_2.png) [@DanielPiker](https://discourse.mcneel.com/u/DanielPiker)\
**Post date:** [July 27, 2021, 11:10am UTC](https://discourse.mcneel.com/t/how-to-move-a-mesh-by-dragging-it/128014/3 "2021-07-27T11:10:09Z")

</div>

There’s actually no need to press anything on the keyboard - that was the case with older versions, but it hasn’t required that for a while now - when the Grab component is active you just left click and drag in the Rhino viewport.

@k.tsuku.14 - here’s that example

[wibblewobble.gh](https://discourse.mcneel.com/uploads/short-url/oi9vY0KW33u2l7qZHHYNWM9nyJx.gh) (39.2 KB)  
The ‘Grab’ component as Martyn says is the reason it is possible to drag them in the Rhino window.  
They are standing because there’s a force pulling down on their feet and a small force pulling up on the tops of their heads.  
(by the way, I notice you’ve created many new threads in the last couple of days on closely related topics. If it’s all related it might be better to continue things in one thread to avoid people having to click around a lot to follow the other parts of the discussion)

---

<div class="post-metadata">

**Author:** ![k.tsuku.14](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/k.tsuku.14/32/470032_2.png) [@k.tsuku.14](https://discourse.mcneel.com/u/k.tsuku.14)\
**Post date:** [July 27, 2021, 12:17pm UTC](https://discourse.mcneel.com/t/how-to-move-a-mesh-by-dragging-it/128014/4 "2021-07-27T12:17:52Z")

</div>

@DanielPiker  
I’ve recently started using this site and am learning how to post.  
I just opened the attached file, but I can’t use FloorFriction and SoftBodyCollide because I don’t have the latest version of kangaroo. Where can I get the latest version of Kangaroo?

---

<div class="post-metadata">

**Author:** ![DanielPiker](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/danielpiker/32/666337_2.png) [@DanielPiker](https://discourse.mcneel.com/u/DanielPiker)\
**Post date:** [July 27, 2021, 12:21pm UTC](https://discourse.mcneel.com/t/how-to-move-a-mesh-by-dragging-it/128014/5 "2021-07-27T12:21:41Z")

</div>

If you update your Rhino to the latest service release of version 7, your kangaroo will also be automatically updated. (In Rhino under help\>check for updates).

---

<div class="post-metadata">

**Author:** ![k.tsuku.14](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/k.tsuku.14/32/470032_2.png) [@k.tsuku.14](https://discourse.mcneel.com/u/k.tsuku.14)\
**Post date:** [July 27, 2021, 12:27pm UTC](https://discourse.mcneel.com/t/how-to-move-a-mesh-by-dragging-it/128014/6 "2021-07-27T12:27:51Z")

</div>

> [@DanielPiker](#):
>
> If you update your Rhino to the latest service release of version 7, your kangaroo will also be automatically updated. (In Rhino under help\>check for updates).

@DanielPiker  
I am using Rhino 7. Should I just update Kangaroo?

---

<div class="post-metadata">

**Author:** ![DanielPiker](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/danielpiker/32/666337_2.png) [@DanielPiker](https://discourse.mcneel.com/u/DanielPiker)\
**Post date:** [July 27, 2021, 12:43pm UTC](https://discourse.mcneel.com/t/how-to-move-a-mesh-by-dragging-it/128014/7 "2021-07-27T12:43:52Z")

</div>

No, you need to update Rhino (although you have version 7, there are regular _Service Releases_ which include bug fixes and improvements, and it’s usually good to use a current version). Updating Rhino will automatically update Grasshopper/Kangaroo.

---

<div class="post-metadata">

**Author:** ![architect.civil5](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/architect.civil5/32/500786_2.png) [@architect.civil5](https://discourse.mcneel.com/u/architect.civil5)\
**Post date:** [July 29, 2021, 11:30am UTC](https://discourse.mcneel.com/t/how-to-move-a-mesh-by-dragging-it/128014/8 "2021-07-29T11:30:55Z")

</div>

HI @danielpiker This algorithm is very interesting. I tried to add balls like Football? That, but the ball control is difficult and hardly shaken. Do you have a suggestion for the smooth movement parameters of the ball?

[https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/6/7/9/679cae7cbb40414247f3a8800c7f43a852f8a193.mp4](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/6/7/9/679cae7cbb40414247f3a8800c7f43a852f8a193.mp4)
  
[wibblewobble-box-my1.gh](https://discourse.mcneel.com/uploads/short-url/axpqbUFClTJgp24VnKUVUMMq67l.gh) (61.6 KB)

---

<div class="post-metadata">

**Author:** ![DanielPiker](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/danielpiker/32/666337_2.png) [@DanielPiker](https://discourse.mcneel.com/u/DanielPiker)\
**Post date:** [July 29, 2021, 12:10pm UTC](https://discourse.mcneel.com/t/how-to-move-a-mesh-by-dragging-it/128014/9 "2021-07-29T12:10:30Z")

</div>

The characters have a downward force on a few points on their feet to keep them flat on the ground, and an upward force on their heads keeping them standing.  
For the ball you’d just want a simple downward force on all points like this:  
[wibble\_football.gh](https://discourse.mcneel.com/uploads/short-url/nsRwECd1k1xoovvY5urS3KiHSeE.gh) (51.7 KB)  
It’s not very easy to control as a game though!

[https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/1/5/1/1515df6eabcfac0e9bace9840aa630f234bdc8b4.mp4](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/1/5/1/1515df6eabcfac0e9bace9840aa630f234bdc8b4.mp4)

---

<div class="post-metadata">

**Author:** ![martynjhogg](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/martynjhogg/32/513395_2.png) [@martynjhogg](https://discourse.mcneel.com/u/martynjhogg)\
**Post date:** [July 29, 2021, 10:11pm UTC](https://discourse.mcneel.com/t/how-to-move-a-mesh-by-dragging-it/128014/10 "2021-07-29T22:11:37Z")

</div>

Nothing on this forum has ever made me laugh as much as that video.

---

<div class="post-metadata">

**Author:** ![martynjhogg](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/martynjhogg/32/513395_2.png) [@martynjhogg](https://discourse.mcneel.com/u/martynjhogg)\
**Post date:** [May 19, 2022, 10:18pm UTC](https://discourse.mcneel.com/t/how-to-move-a-mesh-by-dragging-it/128014/11 "2022-05-19T22:18:26Z")

</div>

Its still funny

---

<div class="post-metadata">

**Author:** ![martynjhogg](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/martynjhogg/32/513395_2.png) [@martynjhogg](https://discourse.mcneel.com/u/martynjhogg)\
**Post date:** [April 19, 2023, 10:57pm UTC](https://discourse.mcneel.com/t/how-to-move-a-mesh-by-dragging-it/128014/12 "2023-04-19T22:57:23Z")

</div>

Still funny. I just come here once a year to remember how to grab a mesh and chuckle at this video 😂
