Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Create a collider ( SplinePathMeshBuilder)
#1
Hi again Jake,

I'm trying to make a dynamic Mesh Collider for my mesh having the "SplinePathMeshBuilder" script.
Something like :

Code:
GetComponent(MeshCollider).sharedMesh = null;
var mesh : Mesh = GetComponent(MeshFilter).mesh;
GetComponent(MeshCollider).sharedMesh = mesh;
And... it works but then I can't Edit the shape anymore with the curvySpline Script.

Is there any build in code in order to do that properly ?
I didn't find anything in the doc.

Thanks a lot !
Seb
Reply


Messages In This Thread
Create a collider ( SplinePathMeshBuilder) - by rattle-snake - 01-01-2014, 05:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Create Game Object Renaming Options rickgplus 1 708 09-23-2025, 09:33 AM
Last Post: _Aka_
  Create Mesh Node, Make Static Options rickgplus 1 1,626 01-23-2025, 10:12 AM
Last Post: _Aka_
  Box Collider Alignment Petusarian 5 2,871 10-21-2024, 10:28 AM
Last Post: _Aka_
Heart Create beautiful curves ShiroeYamamoto 3 2,383 03-26-2024, 06:25 PM
Last Post: _Aka_

Forum Jump: