Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • I'm higher than geometry:??? distance > 0
  • I'm higher than geometry:??? distance < 0
  • higher geometry:??? on LEFT
  • higher geometry:??? on RIGHT
  • I'm on geometry:??? UPHILL
  • I'm on geometry:??? DOWNHILL

 

Prerequirements

  1. Curve Pin
  2. Geometry Sentences are 100% same as Terrain, but only in different situations

 

Example

In below example we'll show you how to create the roller coaster by curve pin and geometry logic.

...

Now, wee get the right roll,

I'm higher than geometry:??? distance > 0    geometry is lower than the agent.

I'm higher than geometry:??? distance < 0    geometry is higher than the agent. 

Under the hood

We control the agent by input geometry sentence, for left/right roll, you can use:

higher geometry:??? on LEFT

higher geometry:??? on RIGHT

 

With the same method, we can rotate the agent forward/backward based on the downhill and uphill:

I'm on geometry:??? UPHILLDOWNHILL

 

I'm on geometry:??? DOWNHILLUPHILL