playMaker

Author Topic: Terrain Actions  (Read 2356 times)

micuccio

  • Playmaker Newbie
  • *
  • Posts: 3
Terrain Actions
« on: April 21, 2015, 04:29:52 AM »
Good Morning guys,

As my topic title suggests I was hoping to be able to modify the Terrain in Runtime via playmaker.
I mean I suppose what do you need is :

a)use a raycast to get the point where you want to "dig"
b)access to Terrain Height (and I have no idea how to do with Playmaker)
c)modify this Height (locally and again No idea how)

Any ideas?


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Terrain Actions
« Reply #1 on: April 21, 2015, 05:37:37 AM »
Hi,

 that's very tricky to do actually, and it ipens a can of worm when you try for several reasons.

 I would first look on the asset store for assets doing this. If you find one that is doing what you want, let me know and I'll look into this and see if it can be controlled with PlayMaker with few actions.

typically your problem is the fall off system so that when you dig, it's not just the face undert the ray you move but an area using a fall off curve or math to create a hole shape that is suitable for your needs.


 Bye,

 Jean

micuccio

  • Playmaker Newbie
  • *
  • Posts: 3
Re: Terrain Actions
« Reply #2 on: April 21, 2015, 07:02:48 AM »
Thanks for the reply.

Sorry to hear that is not possible to do with Playmaker, I will look on the assetstore then...

Dom

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Terrain Actions
« Reply #3 on: April 27, 2015, 02:56:40 AM »
Hi,

 yeah, it's certainly impossible without either an dedicated asset that you can then control via playmaker or some heavy scripting and custom actions. PlayMaker can still be used for the high level logic of your system, but that's about it for this case.

Bye,

 Jean