1. If defined a Variable component, e.g., call it var of type int, the content assistant offers on "var." possibilities such as: ByteValue, IntValue, ManagedValue, ... but if put to the expression, e.g., var.IntValue, syntax error "Could not determine type: IntValue" occurs. Content assistant should not offer these possibilities.
2. How to assign to a variable of type vec* defined as Variable component? For instance, for var defined as vec2, var[0] returns syntax error "Identifier is not an array: ManagedValue". This is probably an error.
Problems with Variable component
Moderator: Moderators
Hej Ville,
If & when you're going to tackle the first point that Rado1 brought up, please consider looking at the suggestion i made in the Beta thread concerning the Variable component ( even though i'm aware the solution for the auto-completion "thing" doesn't have anything to do with the property panel )?

K
If & when you're going to tackle the first point that Rado1 brought up, please consider looking at the suggestion i made in the Beta thread concerning the Variable component ( even though i'm aware the solution for the auto-completion "thing" doesn't have anything to do with the property panel )?

Kjell wrote:Would it be possible that the properties panel of the Variable component changes depending on what Type is chosen ( see attached mock-ups )? Right now only floats can be modified, and the type-specific read-only properties might confuse beginners.

K
Hi Ville, there's probably a bug in accessing vec3 variables, which sometimes throws an access violation. Try to run the attached project.
- Attachments
-
- test.zgeproj
- project throwing exception
- (1.08 KiB) Downloaded 487 times