Skocz do zawartości
View in the app

A better way to browse. Learn more.

Max3D.pl

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Napisano

Czesc,

 

wlasnie walcze ze skryptem Mckay do particle flow.

ale wyskakuje mi jeden blad

oto skrypt

 

on ChannelsUsed pCont do

(

pCont.usePosition = true

pCont.useShape = true

)

 

on Init pCont do

(

global groundGeom = $fragment_* as array

)

 

on Proceed pCont do

(

t1 = pCont.getTimeStart() as float

t2 = pCont.getTimeEnd() as float

 

if ((t1 = 0)) then

(

(

pCont.AddParticle groundgeom.count

for i in 1 to groundgeom.count do

(

pcont.particleindex = i

pcont.particleshape = groundgeom.mesh

pcont.particlepositon = groundgeom.position

)

)

)

 

)

on Release pCont do

(

 

)

 

blad wywala w

 

"for i in 1 to groundgeom.count do"

 

skryp jak widac tworzy czasteczki z obietkow o nazwie "fragment_*"

 

moze jakas madra glowa mi pomoze:)

pozdrawiam

  • Odpowiedzi 2
  • Wyświetleń 2k
  • Created
  • Ostatniej odpowiedzi

Top Posters In This Topic

Napisano

W lini

pcont.particlepositon = groundgeom[i].position

masz literowke, powinno byc

pcont.particleposition = groundgeom[i].position

 

Druga rzecz to ta linia:

pCont.AddParticle groundgeom.count

Jesli chcesz dodac jedna czasteczke to w funkcji AddParticle nie podajesz rzadnych argumentow. Ale podejrzewam ze chcesz doadc kilka czasteczek, w takim wypadku musisz napisac

pCont.AddParticles groundgeom.count

Po tych poprawkach juz nie powinien sie wywalac.

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Powiadomienie o plikach cookie

Wykorzystujemy cookies. Przeczytaj więcej Polityka prywatności

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.