#Thread

1 messages · Page 1 of 1 (latest)

warm thicket
#

ok

pearl magnet
#

what are you trying to do

warm thicket
#

make mParent work

pearl magnet
#

that doesnt help me does it

#

first of all line 3 means nothing, thats not code delete that

warm thicket
#

idk how to explain this further

#

yeah I deleted that

pearl magnet
#

what does mparent do?

warm thicket
pearl magnet
#

the reason why public gives you an error is becuase public Mode is not code, delete that too

warm thicket
pearl magnet
#

ok mode is a type, its not a variable so it cant be used as a var

warm thicket
pearl magnet
#

so in that whole if statment mode has to go

warm thicket
#

so delete every mode?

pearl magnet
warm thicket
#

ok

pearl magnet
#

mode isnt a variable

#

also

#

what is this

here you are setting a var of type weightedTransfomArray to something of type multiparent contractint

#

this isnt code... again

#

delete

#

and the reason why you get issue is because as i said above that isnt code

#

i think here you have a bigger issue, i would take a break and then watch a coding tutorial

#

you are making a lot of basic mistakes

#

i do agree with the just trying things but no point in trying if you have no basics

warm thicket
#

ok

pearl magnet
#

and the first line of code in the start function Mode = ground

#

that has to go too

#

that isnt code

warm thicket
#

OK

#

I just have one issue now

pearl magnet
#

show

#

ho in the HAnd function too

#

delete the first line

warm thicket
#

'object' does not contain a definition for 'sourceObjects' and no accessible extension method 'sourceObjects' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?)

pearl magnet
#

what is this?

#

i need to see all of the errors

warm thicket
#

these are the only issues

#

I had to reset the code

pearl magnet
#

this type doesn have that variable or function you are calling

#

you need to open that script too

warm thicket
#

open multiparent?

pearl magnet
#

yh

#

does multiparent have a sourceObjects variable?

warm thicket
#

thats all whats in it

#

so no

pearl magnet
# warm thicket

gonna be honest not too sure what internalobject types are, but still where did you get this code?

warm thicket
#

github

#

its a fan game

#

it is from a locomotion system from a game called gorilla tag

pearl magnet
#

did you change anything else?

#

if its from github it "should" work

warm thicket
#

I fixed one of the errors by deleting an unnecessary part

pearl magnet
warm thicket
#

it was

pearl magnet
#

if you want to "fix" all the issues then you have to delete that line too but then the if statment is useless

#

if you just want to get rid of all the errors then delete the whole if statement

warm thicket
#

ok

#

I need the if statement

pearl magnet
#

yh thats the issue

#

i know you do

#

either the person that own the repo messed up with the type data or you changed something in the code

#

someone made a mistake somewhere

warm thicket
#

I didn't change it

pearl magnet
#

but the constraint.data has no object sourceObject

warm thicket
#

it does now

pearl magnet
#

show

warm thicket
pearl magnet
#

if its giving you the error it doesnt

warm thicket
#

yeah

pearl magnet
#

....

warm thicket
#

it has the text

#

lol

pearl magnet
#

what

warm thicket
#

i have no idea what im doing

pearl magnet
#

i know

#

that is why i am saying stop what you are doing

#

take a break

#

take a coding course

warm thicket
#

ok

#

imma go

pearl magnet
#

kk

warm thicket
#

now

pearl magnet
#

GN

warm thicket
#

bye

#

thanks for trying man

#

gn