hi
how to target for example sphere mesh position in AnimatorSimple component ?
i tried sphere.Position.X but it says "invalid propname"
AnimatorSimple with meshs
Moderator: Moderators
Re: AnimatorSimple with meshs
Hi airpas,

A common way to move a Mesh is to use a Model component to render it ( a Model component does have a Position property ).

Attached is the example seen in the screenshots
K
A Mesh component doesn't have a Position property. When you select a component from the Project Tree, the Properties panel shows you which properties the selected component has.airpas wrote:how to target for example sphere mesh position in AnimatorSimple component ?

A common way to move a Mesh is to use a Model component to render it ( a Model component does have a Position property ).

Attached is the example seen in the screenshots

K
- Attachments
-
- Sphere.zgeproj
- (1.16 KiB) Downloaded 506 times
Hi airpas,
K
SpawnModel either adds a Model to your scene ( when using Reference ), or a clone / instance of a Model ( when using Clone ).airpas wrote:what does SpawnModel do exactly?
There's no Bezier Spline component build-in at the moment. You could do / solve this yourself, but you won't be able to import them ( from Maya / Blender etc. ), nor can you create your own editor interface ( like you can in Unity ), so it'll be a pain in the *ss to use. Regardless, attached is a ultra-basic example.airpas wrote:how to move an object through bezier spline path?
K
- Attachments
-
- Spline.zgeproj
- Requires ZGameEditor 3.1 ( Beta )
- (2.27 KiB) Downloaded 524 times