How do I fix a angle property

Get help using Construct 2

Post » Tue Jan 05, 2016 9:27 pm

Hello everyone, I have a problem when I change a property named angle that is the angle of an object, this property then gets the value NaN, does anyone know how to fix it. I want to ratate the object to the property value.
B
28
S
9
G
3
Posts: 280
Reputation: 4,162

Post » Tue Jan 05, 2016 9:54 pm

NaN means "not a number", so you are probably trying to use a string (text) value to set the variable..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Tue Jan 05, 2016 9:59 pm

even changing the type of the variable text, the problem persists, in some cases it returns the value of the angle
B
28
S
9
G
3
Posts: 280
Reputation: 4,162

Post » Tue Jan 05, 2016 10:16 pm

You are going to have to be more clear..
You are still gettin NaN?
What is the issue?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed Jan 06, 2016 11:06 am

could you send a code example?
B
18
S
4
G
1
Posts: 143
Reputation: 1,868

Post » Wed Jan 06, 2016 9:34 pm

The problem is solved, thank you for help, is the calculus of angle returning a error. SOLVED
B
28
S
9
G
3
Posts: 280
Reputation: 4,162


Return to How do I....?

Who is online

Users browsing this forum: alajajm, LaurenceBedford, tetuan and 9 guests