Grasshopper

algorithmic modeling for Rhino

hi,
I hope that Piker or users of Kangaroo can help me.

I'm trying to do that if I shoot a ball and collides with another sphere situated at the head of a zombie (composed of curves), this zombie breaks down or falls back. I mean, pretend if you shoot in the head he dies.

I have done it correctly the collision between spheres, what I need is to have the result of that collision is derived to the curves of zombie.


Could you give me some suggestions to make? or seems impossible?


Any alternative is welcome to do so.

Thanks beautiful people.

Attached the file with the problem.

Views: 432

Attachments:

Replies to This Discussion

hello Daniel,

maybe move the zombie together with the ball?

or is it something else you are after?

Attachments:

Nikos Thanks for the reply.


I had seen my problem wrongly and made a bad question. Now I did something like a gun that shoots a line and if it collides with the zombie head a bool active the gravity component causing the zombie curves fall on the floor.

But now I have two problems screwed.
- I dont know how to target the gun in 3d.
- I dont know how to keep the zombie curves slightly fixed (but vibrating) while it walks (moving the feet-points) .


But I'm afraid I'll have to leave it halfway.

Attachments:

"But I'm afraid I'll have to leave it halfway."

Please don't, it looks like it can be lots of fun!

haha thanks for the encouragement Nikos.
The idea was to make a horde of zombies towards you and kill them.


But I dont know how to get target gun.
First, obtain the coordinates of the mouse in the viewport of rhino and then the coordinates for depth when the cursor is over an object (such as the head of the zombie).
I dont know to do that. I found time ago a script for get the coordinates of the cursor/mouse in rhinoview, but is lost in my computer (whatsapp monkey covering his eyes)

yes, I am afraid this is over my skill level...

maybe you could simplify this is 2d (like front-view-only)?

I had considered that possibility, but I'm not convinced.
I have another game almost done, will post one of these days.
Thanks for your comments :)

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service