Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - choi

Pages: [1]
PlayMaker Help / Is it possible to use voice chat network?
« on: September 23, 2013, 09:39:33 AM »
Is it possible to use voice chat network?

Feature Requests / Terrain data provides access to the alpha Mep back
« on: June 24, 2013, 05:18:50 AM »
Terrain data provides access to the alpha Mep back.
According to the properties of the terrain data, I would like to create an event.

PlayMaker Help / How to get a texture on the terrain
« on: May 10, 2013, 02:52:29 PM »
How to get a texture on the terrain..

What is the best way to implement the footsteps of different terrain textures on the player when moving terrain when?

The following code example can be implemented as a playmaker?
This is the code to figure out the texture of the terrain.
Code: [Select]
using UnityEngine;

public class PlayerHitCheck : MonoBehaviour

private TerrainData terrainData;
private Vector3 terrainPos;
private string resultText;

void Start ()
terrainData = Terrain.activeTerrain.terrainData;
terrainPos = Terrain.activeTerrain.transform.position;

float textureIndex1;
float textureIndex2;

void Update(){

int mapX = Mathf.RoundToInt(((transform.position.x - terrainPos.x) / terrainData.size.x) * terrainData.alphamapWidth);
int mapZ = Mathf.RoundToInt(((transform.position.z - terrainPos.z) / terrainData.size.z) * terrainData.alphamapHeight);

float[,,] splatmapData = terrainData.GetAlphamaps(mapX, mapZ, 1, 1);

textureIndex1 = splatmapData[0,0,0]; //grass texture
textureIndex2 = splatmapData[0,0,1]; //sand texture

resultText = " grass  : "+textureIndex1+"\n sand : "+textureIndex2;


void OnGUI(){
GUI.BeginGroup (new Rect (10, 10, 200, 40));
GUI.Box(new Rect (0, 0, 200, 40),resultText);
GUI.EndGroup ();


Able to figure out the texture of the collision point?
Events according to the texture of the terrain possible?

PlayMaker Help / [SOLVED]Multi-distance comparisons
« on: November 07, 2012, 08:29:07 AM »
Please help me.
1) Six Ball.
2) One of the targets.
3) Active Ball for farthest from the target.
4) Add Force.

PlayMaker Help / External sensor interoperability possible?
« on: October 22, 2012, 05:20:19 PM »
External sensor interoperability possible?
1 Computer connected to the sensor sends a signal. (Dll link)
2 Depending on the signal, the ball is moving.

PlayMaker Help / Draw a line on the terrain
« on: October 02, 2012, 08:25:21 PM »
Tiger Woods online game in Green area,
Lines of high and low terrain have been expressed.
Can be expressed as the playmaker?
If possible, to see an example?

Feature Requests / Please draw a line in the 3D space.
« on: September 14, 2012, 11:37:49 PM »
Thank able to use Vectrosity.

However, the add-on is required.
Please draw a line in the 3D space.

A direction of the ball, B direction, C the direction toward the fire.
I would like to know how.
Thank you.

PlayMaker Help / I'd like to share a variable.
« on: August 09, 2012, 08:24:58 PM »
C #, JavaScript, or you can control variables do?
I'd like to share a variable.
Please help.

PlayMaker Help / Using JavaScript Variables
« on: July 20, 2012, 04:51:09 PM »
Javascript, c # is made ​​of a variable.
This variable can be utilized in PlayMaker is this?

I can not change the font style.
How do I change the font style PlayMaker GUI text?

Stored in the variable object can not be applied to the collision.
Please help. ???

PlayMaker Help / Request for help with your golf game.
« on: June 08, 2012, 06:12:15 PM »
Playmaker has developed as a golf game.
But difficult.
Two players progress through the game.
Shot No. 1 player. Next. 2 players shot After shot.
Distance away from the hole cup and the first shot of the player.
Help would be appreciated.

Pages: [1]