playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Feedback
»
Action Requests
(Moderator:
600
) »
Mesh geometry actions for playmaker(is possible?)
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Mesh geometry actions for playmaker(is possible?) (Read 2024 times)
Ateam
Full Member
Posts: 116
Mesh geometry actions for playmaker(is possible?)
«
on:
May 17, 2017, 12:24:20 PM »
is possible make something like this in playmaker?
using UnityEngine;
using System.Collections;
public class ExampleClass : MonoBehaviour {
public Vector3[] newVertices;
public Vector2[] newUV;
public int[] newTriangles;
void Start() {
Mesh mesh = new Mesh();
GetComponent<MeshFilter>().mesh = mesh;
mesh.vertices = newVertices;
mesh.uv = newUV;
mesh.triangles = newTriangles;
}
}
Logged
tcmeric
Beta Group
Hero Member
Posts: 768
Re: Mesh geometry actions for playmaker(is possible?)
«
Reply #1 on:
May 17, 2017, 01:11:00 PM »
I think you would need to code custom actions in order to handle that. That being said, you could make custom actions to do those kinds of things with playmaker.
Do you have something you want to make? I am not super familiar with meshFilter.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Feedback
»
Action Requests
(Moderator:
600
) »
Mesh geometry actions for playmaker(is possible?)