Search Unity

Teleporing through object while cutting it

Discussion in 'Scripting' started by ChikenMilk, Nov 17, 2019.

  1. ChikenMilk

    ChikenMilk

    Joined:
    Jun 11, 2018
    Posts:
    22
    I'm pretty new to unity and I can't figure out a way for you to either click then you go in the direction you clicked cutting the object in front in half and giving the player a point, after landing on the surface like a wall.

    Any help would be appreciated.
     
  2. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    4,196
    Can you explain that better? Is this 2D or 3D? Specifically, what do you mean by "cutting the object in front in half"? Is there a video or image you could show to explain the behavior you're trying to achieve? My first impression is that you want to do something fairly complex, like dynamic destruction.

    As for clicking and going in that direction, again, 2D or 3D? Are you talking about a top-down map you're clicking on?